Add the 'silent' flag to notifications
Because we play our own sounds
This commit is contained in:
@@ -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
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user