From df648dd2874cdccc2542de35cdcd5ee81f18761d Mon Sep 17 00:00:00 2001 From: Ivo Julca Date: Sat, 3 Oct 2015 12:56:44 -0500 Subject: [PATCH] System chat messages (|c|~|) no longer arise subtle notifications --- js/client-chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client-chat.js b/js/client-chat.js index a3d946c0f..c31c9b3d7 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -1302,7 +1302,7 @@ var notifyTitle = "Mentioned by " + name + (this.id === 'lobby' ? '' : " in " + this.title); var notifyText = $lastMessage.html().indexOf('') >= 0 ? '(spoiler)' : $lastMessage.children().last().text(); this.notifyOnce(notifyTitle, "\"" + notifyText + "\"", 'highlight'); - } else { + } else if (name !== '~') { // |c:|~| prefixes a system message this.subtleNotifyOnce(); }