From fa0e2584f44ebba06890abb7e892a9585ca94560 Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 15 Sep 2015 16:45:52 -0700 Subject: [PATCH] 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 --- js/views/inbox_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/views/inbox_view.js b/js/views/inbox_view.js index 9d761fcd1ab5..63fe13cb6dae 100644 --- a/js/views/inbox_view.js +++ b/js/views/inbox_view.js @@ -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'));