Notifications: All calls are debounced except for shutdown clear

This commit is contained in:
Scott Nonnenberg 2018-05-10 17:27:22 -07:00
parent 18a76ffb49
commit b1a54c416f
2 changed files with 17 additions and 13 deletions

View file

@ -240,7 +240,7 @@
});
window.addEventListener('focus', () => Whisper.Notifications.clear());
window.addEventListener('unload', () => Whisper.Notifications.clear());
window.addEventListener('unload', () => Whisper.Notifications.fastClear());
Whisper.events.on('showConversation', function(conversation) {
if (appView) {