diff options
author | Stefan Malzner <stefan@adlk.io> | 2017-11-09 16:28:03 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2017-11-09 16:28:03 +0100 |
commit | b405ba11aa3c669a21831d016084e0c47bffdebc (patch) | |
tree | 24dbb9ca8ea83e0f2126e6e68c81a9e51eb49b91 /src/stores/ServicesStore.js | |
parent | Merge branch 'develop' of github.com:meetfranz/franz into develop (diff) | |
download | ferdium-app-b405ba11aa3c669a21831d016084e0c47bffdebc.tar.gz ferdium-app-b405ba11aa3c669a21831d016084e0c47bffdebc.tar.zst ferdium-app-b405ba11aa3c669a21831d016084e0c47bffdebc.zip |
feat(Service): Add option to mute service
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r-- | src/stores/ServicesStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 1d895d532..96c503510 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -287,7 +287,7 @@ export default class ServicesStore extends Store { | |||
287 | }); | 287 | }); |
288 | } else if (channel === 'notification') { | 288 | } else if (channel === 'notification') { |
289 | const options = args[0].options; | 289 | const options = args[0].options; |
290 | if (service.recipe.hasNotificationSound) { | 290 | if (service.recipe.hasNotificationSound || service.isMuted) { |
291 | Object.assign(options, { | 291 | Object.assign(options, { |
292 | silent: true, | 292 | silent: true, |
293 | }); | 293 | }); |