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

Try to close notification on all platforms which support it, not just electron
This commit is contained in:
Michael Telatynski
2020-08-12 16:01:39 +01:00
committed by GitHub

View File

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