Permalink
Browse files

fix(Notification): Remove notification sound when app is muted

  • Loading branch information...
adlk committed Dec 13, 2017
1 parent 3ccbcf5 commit 53fde0c7b31b5c79a81702c4338d1e9beb47e44f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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,
});

0 comments on commit 53fde0c

Please sign in to comment.