mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-09 04:23:01 -05:00
fix: call subtleNotify() for /nonotify dm messages so friend-online leaves box as unread
This commit is contained in:
parent
5581e4c465
commit
2ee65bb8ee
|
|
@ -158,6 +158,9 @@ export class ChatRoom extends PSRoom {
|
|||
title: `${this.title}`,
|
||||
body: textContent,
|
||||
});
|
||||
} else if (!isIgnored) {
|
||||
// /nonotify messages (e.g. "friend came online") should still mark the room as unread
|
||||
this.subtleNotify();
|
||||
}
|
||||
} else {
|
||||
this.subtleNotify();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user