Let typeahead surface groups with matching members

pull/749/head
lilia 10 years ago
parent e149650d94
commit d3d84f3124

@ -19,7 +19,7 @@ var Whisper = Whisper || {};
'use strict'; 'use strict';
var typeahead = Backbone.TypeaheadCollection.extend({ var typeahead = Backbone.TypeaheadCollection.extend({
typeaheadAttributes: ['name'], typeaheadAttributes: ['name', 'members'],
database: Whisper.Database, database: Whisper.Database,
storeName: 'conversations', storeName: 'conversations',
model: Whisper.Conversation, model: Whisper.Conversation,

Loading…
Cancel
Save