mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Disable notification grouping on Windows 7
This commit is contained in:
parent
5d230d3778
commit
c2407c8906
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue