Clear window attention if all messages are marked read
Fixes #758 // FREEBIE
This commit is contained in:
parent
0cd7f84a05
commit
72dd93aa02
2 changed files with 7 additions and 1 deletions
|
@ -62,6 +62,9 @@
|
|||
storage.put("unreadCount", newUnreadCount);
|
||||
|
||||
setUnreadCount(newUnreadCount);
|
||||
if (newUnreadCount === 0) {
|
||||
window.clearAttention();
|
||||
}
|
||||
}
|
||||
}))();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue