summaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-11-09 16:28:03 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-11-09 16:28:03 +0100
commitb405ba11aa3c669a21831d016084e0c47bffdebc (patch)
tree24dbb9ca8ea83e0f2126e6e68c81a9e51eb49b91 /src/stores
parentMerge branch 'develop' of github.com:meetfranz/franz into develop (diff)
downloadferdium-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')
-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 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 });