Disable notification grouping on Windows 7

This commit is contained in:
Daniel Gasienica 2018-05-04 15:28:05 -04:00
parent 5d230d3778
commit c2407c8906

View file

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