Fix intermittent conversation sort order problem (#1558)

We were inserting based on what was already in the DOM, instead of
using the index from our conversation collection.

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-10-13 11:47:13 -07:00 committed by GitHub
parent fb7701576e
commit 151d1797db
3 changed files with 11 additions and 6 deletions

View file

@ -110,7 +110,7 @@
this.inboxListView.listenTo(inboxCollection,
'add change:timestamp change:name change:number',
this.inboxListView.sort);
this.inboxListView.updateLocation);
this.searchView = new Whisper.ConversationSearchView({
el : this.$('.search-results'),