Clean up notification and unread indicator behavior
This commit is contained in:
parent
e0f84d9c8e
commit
21aaf0fab5
3 changed files with 9 additions and 17 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue