aboutsummaryrefslogtreecommitdiffstats
path: root/shared/NotifyConfig.js
diff options
context:
space:
mode:
Diffstat (limited to 'shared/NotifyConfig.js')
-rw-r--r--shared/NotifyConfig.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/shared/NotifyConfig.js b/shared/NotifyConfig.js
index 6fc98e6..47fa0f6 100644
--- a/shared/NotifyConfig.js
+++ b/shared/NotifyConfig.js
@@ -73,8 +73,6 @@ function withheld(cfg, n, dnd) {
// Whether a queued notification's balloon is on screen at `now`: the drawer
// and snooze withhold everything, then mute and DND, then its own expiry.
-// The balloon shell and the desktop companion both ask this, so they cannot
-// disagree about what is showing.
function shown(cfg, n, dnd, drawerOpen, snoozeUntil, now) {
if (drawerOpen || snoozeUntil > now) return false;
if (withheld(cfg, n, dnd)) return false;