Skip to content

Commit 84ddc11

Browse files
authored
Merge pull request element-hq#14939 from vector-im/t3chguy/fix/14938
Try to close notification on all platforms which support it, not just electron
2 parents ad944c0 + e371f01 commit 84ddc11

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/vector/platform/ElectronPlatform.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,6 @@ export default class ElectronPlatform extends VectorBasePlatform {
374374
ipcRenderer.send('loudNotification');
375375
}
376376

377-
clearNotification(notif: Notification) {
378-
notif.close();
379-
}
380-
381377
async getAppVersion(): Promise<string> {
382378
return this._ipcCall('getAppVersion');
383379
}

0 commit comments

Comments
 (0)