Let typeahead surface groups with matching members

This commit is contained in:
lilia 2015-01-25 02:28:57 -10:00
parent e149650d94
commit d3d84f3124

View file

@ -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,