mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
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(
|
const notification = new global.Notification(
|
||||||
title,
|
title,
|
||||||
{
|
{
|
||||||
"body": msg,
|
body: msg,
|
||||||
"icon": avatarUrl,
|
icon: avatarUrl,
|
||||||
"tag": "vector"
|
tag: "vector",
|
||||||
|
silent: true, // we play our own sounds
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -69,9 +69,10 @@ export default class WebPlatform extends BasePlatform {
|
|||||||
const notification = new global.Notification(
|
const notification = new global.Notification(
|
||||||
title,
|
title,
|
||||||
{
|
{
|
||||||
"body": msg,
|
body: msg,
|
||||||
"icon": avatarUrl,
|
icon: avatarUrl,
|
||||||
"tag": "vector"
|
tag: "vector",
|
||||||
|
silent: true, // we play our own sounds
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user