From 5a01f555b47e5817cd05fb334fef362be31aa0ed Mon Sep 17 00:00:00 2001 From: Quinton Lee Date: Wed, 5 Oct 2016 23:36:18 -0500 Subject: [PATCH] Fix muting notification sounds --- js/client-chat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/client-chat.js b/js/client-chat.js index a7942c697..52ce9f7ed 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -1118,7 +1118,7 @@ if (autoscroll) { this.$chatFrame.scrollTop(this.$chat.height()); } - if (!app.focused && !Tools.prefs('muted') && Tools.prefs('notifvolume')) { + if (!app.focused && !Tools.prefs('mute') && Tools.prefs('notifvolume')) { soundManager.getSoundById('notif').setVolume(Tools.prefs('notifvolume')).play(); } }, @@ -1450,7 +1450,7 @@ } if (mayNotify && isHighlighted) { - if (!Tools.prefs('muted') && Tools.prefs('notifvolume')) { + if (!Tools.prefs('mute') && Tools.prefs('notifvolume')) { soundManager.getSoundById('notif').setVolume(Tools.prefs('notifvolume')).play(); } var $lastMessage = this.$chat.children().last();