Fixes #663 Conversation list loads in reverse order

The onChangeActiveAt listener promotes newly activated conversations to
the top of the inbox. By firing on an 'add' event, if the conversation
list happened to load after the inbox frontend was initialized, each new
entry would be incorrectly moved to the top, effectively reversing the
list.

// FREEBIE
This commit is contained in:
lilia 2016-03-12 14:13:14 -08:00
parent 0247a885ef
commit 0434c4bc53

View file

@ -74,7 +74,7 @@
}).render();
this.inboxListView.listenTo(inboxCollection,
'add change:active_at',
'change:active_at',
this.inboxListView.onChangeActiveAt);
this.searchView = new Whisper.ConversationSearchView({