From 2ee65bb8eed253d6dcc81c4f83d47f11799bfc77 Mon Sep 17 00:00:00 2001 From: TurboRx <187360786+TurboRx@users.noreply.github.com> Date: Mon, 13 Apr 2026 10:40:44 +0000 Subject: [PATCH] fix: call subtleNotify() for /nonotify dm messages so friend-online leaves box as unread --- play.pokemonshowdown.com/src/panel-chat.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/play.pokemonshowdown.com/src/panel-chat.tsx b/play.pokemonshowdown.com/src/panel-chat.tsx index da82cac50..cf0925f71 100644 --- a/play.pokemonshowdown.com/src/panel-chat.tsx +++ b/play.pokemonshowdown.com/src/panel-chat.tsx @@ -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();