diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js index cb0e343afb..d02b04321d 100644 --- a/src/vector/platform/ElectronPlatform.js +++ b/src/vector/platform/ElectronPlatform.js @@ -47,9 +47,10 @@ export default class ElectronPlatform extends BasePlatform { const notification = new global.Notification( title, { - "body": msg, - "icon": avatarUrl, - "tag": "vector" + body: msg, + icon: avatarUrl, + tag: "vector", + silent: true, // we play our own sounds } ); diff --git a/src/vector/platform/WebPlatform.js b/src/vector/platform/WebPlatform.js index 563b01cdb2..918a824dd4 100644 --- a/src/vector/platform/WebPlatform.js +++ b/src/vector/platform/WebPlatform.js @@ -69,9 +69,10 @@ export default class WebPlatform extends BasePlatform { const notification = new global.Notification( title, { - "body": msg, - "icon": avatarUrl, - "tag": "vector" + body: msg, + icon: avatarUrl, + tag: "vector", + silent: true, // we play our own sounds } );