Only load contacts (not groups) in the typeahead
This commit is contained in:
parent
2f93fb9fbc
commit
b3e32a2642
1 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,9 @@ var Whisper = Whisper || {};
|
||||||
});
|
});
|
||||||
|
|
||||||
this.typeahead_view.$el.appendTo(this.$el.find('.contacts'));
|
this.typeahead_view.$el.appendTo(this.$el.find('.contacts'));
|
||||||
this.typeahead_collection.fetch();
|
this.typeahead_collection.fetch({
|
||||||
|
conditions: { type: 'private' }
|
||||||
|
});
|
||||||
|
|
||||||
this.new_contact = new Whisper.ConversationListItemView({
|
this.new_contact = new Whisper.ConversationListItemView({
|
||||||
model: new Whisper.Conversation({
|
model: new Whisper.Conversation({
|
||||||
|
|
Loading…
Reference in a new issue