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

@ -35,7 +35,7 @@
}
var title1 = m1.getTitle().toLowerCase();
var title2 = m2.getTitle().toLowerCase();
if (title1 === title2) {
if (title1 === title2) {
return 0;
}
if (title1 < title2) {