Make sure newly active conversations are added to the inbox

This commit is contained in:
lilia 2015-08-27 17:54:07 -07:00
parent fbb50e6621
commit 5b430fa8aa

View file

@ -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);