Clean up notification and unread indicator behavior

This commit is contained in:
lilia 2015-08-27 14:59:04 -07:00
parent e0f84d9c8e
commit 21aaf0fab5
3 changed files with 9 additions and 17 deletions

View file

@ -218,15 +218,9 @@
});
}
conversation.messageCollection.add(message);
conversation.save().then(function() {
message.save().then(function() {
updateInbox();
if (message.isIncoming()) {
notifyConversation(message);
} else {
updateConversation(conversation.id);
}
notifyConversation(message);
});
});
});