From 53fde0c7b31b5c79a81702c4338d1e9beb47e44f Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Wed, 13 Dec 2017 11:21:05 +0100 Subject: fix(Notification): Remove notification sound when app is muted --- src/stores/ServicesStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stores') 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 { }); } else if (channel === 'notification') { const options = args[0].options; - if (service.recipe.hasNotificationSound || service.isMuted) { + if (service.recipe.hasNotificationSound || service.isMuted || this.stores.settings.all.isAppMuted) { Object.assign(options, { silent: true, }); -- cgit v1.2.3-70-g09d2