mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-27 11:02:38 -05:00
System chat messages (|c|~|) no longer arise subtle notifications
This commit is contained in:
parent
0e29936864
commit
df648dd287
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user