Fix bug in panels controller

Previously, we'd create a new model instance even when one already
existed in the inbox.
This commit is contained in:
lilia 2015-03-23 12:13:10 -07:00
parent 9474b16eba
commit ebc8846fcb
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
window.getConversation = function(attrs) {
var conversation = window.inbox.get(attrs.id) || attrs;
conversation = conversations.add(attrs);
conversation = conversations.add(conversation);
return conversation;
};