Merge pull request #14939 from vector-im/t3chguy/fix/14938

Try to close notification on all platforms which support it, not just electron
pull/14949/head
Michael Telatynski 2020-08-12 16:01:39 +01:00 committed by GitHub
commit 84ddc114e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -374,10 +374,6 @@ export default class ElectronPlatform extends VectorBasePlatform {
ipcRenderer.send('loudNotification'); ipcRenderer.send('loudNotification');
} }
clearNotification(notif: Notification) {
notif.close();
}
async getAppVersion(): Promise<string> { async getAppVersion(): Promise<string> {
return this._ipcCall('getAppVersion'); return this._ipcCall('getAppVersion');
} }