Fix new threads not appearing at top of inbox

When messages from someone not in your inbox arrived, that thread would
appear at the bottom of the inbox instead of the top.

// FREEBIE
This commit is contained in:
lilia 2015-09-15 16:45:52 -07:00
parent df99da15c6
commit fa0e2584f4

View file

@ -92,7 +92,7 @@
collection : inboxCollection
}).render();
this.inboxListView.listenTo(inboxCollection, 'change:active_at', this.inboxListView.onChangeActiveAt);
this.inboxListView.listenTo(inboxCollection, 'add change:active_at', this.inboxListView.onChangeActiveAt);
new SocketView().render().$el.appendTo(this.$('.socket-status'));