fix: call subtleNotify() for /nonotify dm messages so friend-online leaves box as unread

This commit is contained in:
TurboRx 2026-04-13 10:40:44 +00:00
parent 5581e4c465
commit 2ee65bb8ee

View File

@ -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();