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() {