From 5b430fa8aacc9e3711c2fc4bbbaf4e8eeebffffa Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 27 Aug 2015 17:54:07 -0700 Subject: [PATCH] Make sure newly active conversations are added to the inbox --- js/panel_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/panel_controller.js b/js/panel_controller.js index 270d9d22..9e9d5f8f 100644 --- a/js/panel_controller.js +++ b/js/panel_controller.js @@ -94,7 +94,7 @@ window.notifyConversation = function(message) { var conversationId = message.get('conversationId'); - var conversation = conversations.add({id: conversationId}); + var conversation = ConversationController.create({id: conversationId}); if (inboxOpened) { conversation.reload(); extension.windows.drawAttention(inboxWindowId);