aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-12-13 11:21:05 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-12-13 11:21:05 +0100
commit53fde0c7b31b5c79a81702c4338d1e9beb47e44f (patch)
tree64266eff211ec2380aa44a0a033a4ad05594821b /src/stores
parentfix missing filter for indirectMessageBadge (diff)
downloadferdium-app-53fde0c7b31b5c79a81702c4338d1e9beb47e44f.tar.gz
ferdium-app-53fde0c7b31b5c79a81702c4338d1e9beb47e44f.tar.zst
ferdium-app-53fde0c7b31b5c79a81702c4338d1e9beb47e44f.zip
fix(Notification): Remove notification sound when app is muted
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/ServicesStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js
index b04aafd78..113df6d55 100644
--- a/src/stores/ServicesStore.js
+++ b/src/stores/ServicesStore.js
@@ -297,7 +297,7 @@ export default class ServicesStore extends Store {
297 }); 297 });
298 } else if (channel === 'notification') { 298 } else if (channel === 'notification') {
299 const options = args[0].options; 299 const options = args[0].options;
300 if (service.recipe.hasNotificationSound || service.isMuted) { 300 if (service.recipe.hasNotificationSound || service.isMuted || this.stores.settings.all.isAppMuted) {
301 Object.assign(options, { 301 Object.assign(options, {
302 silent: true, 302 silent: true,
303 }); 303 });