Clear window attention if all messages are marked read
Fixes #758 // FREEBIE
This commit is contained in:
@@ -62,6 +62,9 @@
|
||||
storage.put("unreadCount", newUnreadCount);
|
||||
|
||||
setUnreadCount(newUnreadCount);
|
||||
if (newUnreadCount === 0) {
|
||||
window.clearAttention();
|
||||
}
|
||||
}
|
||||
}))();
|
||||
|
||||
|
Reference in New Issue
Block a user