Skip to content

Commit 2854c09

Browse files
committed
Don't set tags on notifications
They are to suppress notifications that don't want to be shown in addition to each other. This makes no sense for our notifications: they're each for independent messages. Also settings tags on notifications makes electron crash on windows when you close the notif, as per element-hq#7512
1 parent 47493fa commit 2854c09

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/vector/platform/ElectronPlatform.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ export default class ElectronPlatform extends VectorBasePlatform {
143143
{
144144
body: msg,
145145
icon: avatarUrl,
146-
tag: 'vector',
147146
silent: true, // we play our own sounds
148147
},
149148
);
@@ -169,11 +168,6 @@ export default class ElectronPlatform extends VectorBasePlatform {
169168
}
170169

171170
clearNotification(notif: Notification) {
172-
// This crashes on windows under certain circumstances: can't find any
173-
// workaround other than not closing notifs.
174-
// https://github.com/electron/electron/issues/15251
175-
// https://github.com/vector-im/riot-web/issues/7512
176-
if (window.process.platform === 'win32') return;
177171
notif.close();
178172
}
179173

0 commit comments

Comments
 (0)