Render only visible conversations in left pane
This commit is contained in:
parent
031b64a476
commit
d72f89d776
6 changed files with 65 additions and 13 deletions
|
@ -11,8 +11,6 @@
|
|||
const conversations = new Whisper.ConversationCollection();
|
||||
const inboxCollection = new (Backbone.Collection.extend({
|
||||
initialize() {
|
||||
this.on('change:timestamp change:name change:number', this.sort);
|
||||
|
||||
this.listenTo(conversations, 'add change:active_at', this.addActive);
|
||||
this.listenTo(conversations, 'reset', () => this.reset([]));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue