System chat messages (|c|~|) no longer arise subtle notifications

This commit is contained in:
Ivo Julca 2015-10-03 12:56:44 -05:00
parent 0e29936864
commit df648dd287

View File

@ -1302,7 +1302,7 @@
var notifyTitle = "Mentioned by " + name + (this.id === 'lobby' ? '' : " in " + this.title);
var notifyText = $lastMessage.html().indexOf('<span class="spoiler">') >= 0 ? '(spoiler)' : $lastMessage.children().last().text();
this.notifyOnce(notifyTitle, "\"" + notifyText + "\"", 'highlight');
} else {
} else if (name !== '~') { // |c:|~| prefixes a system message
this.subtleNotifyOnce();
}