From 61581bae7f9ac310f0b876973bcaeaf0b58e1e6a Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 17 Feb 2015 23:22:15 -0800 Subject: [PATCH] Fix inbox comparator --- js/inbox_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/inbox_controller.js b/js/inbox_controller.js index e28682e1..86bbd6f5 100644 --- a/js/inbox_controller.js +++ b/js/inbox_controller.js @@ -25,7 +25,7 @@ window.inbox = new Whisper.ConversationCollection([], { comparator: function(model) { - return -model.active_at; + return -model.get('active_at'); } });