From c2407c89062a2f0749ec36f7c20250eadceb0b8c Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Fri, 4 May 2018 15:28:05 -0400 Subject: [PATCH] Disable notification grouping on Windows 7 --- js/notifications.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/notifications.js b/js/notifications.js index 91091d39f..ccb87ec5b 100644 --- a/js/notifications.js +++ b/js/notifications.js @@ -100,16 +100,15 @@ drawAttention(); + const isNotificationGroupingSupported = Settings.isNotificationGroupingSupported(); const notification = new Notification(title, { body: message, icon: iconUrl, - tag: 'signal', + tag: isNotificationGroupingSupported ? 'signal' : undefined, silent: !status.shouldPlayNotificationSound, }); - notification.onclick = () => this.onClick(last.get('conversationId')); - // We don't want to notify the user about these same messages again this.clear(); }, getUserSetting() {