Skip to content

Commit c1dfbd6

Browse files
authored
Merge pull request element-hq#7518 from vector-im/dbkr/better_fix_for_windows_crashes
Don't set tags on notifications
2 parents 47493fa + 2854c09 commit c1dfbd6

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)