Notification improvements
- Remove on read, on focus, and on exit. - Show multi-message notifications like '5 new messages'.
This commit is contained in:
parent
f693c00778
commit
3bf8a8966a
7 changed files with 104 additions and 23 deletions
|
@ -25,6 +25,7 @@
|
|||
);
|
||||
});
|
||||
if (message) {
|
||||
Whisper.Notifications.remove(message);
|
||||
return message.markRead(receipt.get('read_at')).then(
|
||||
function() {
|
||||
this.notifyConversation(message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue