diff --git a/play.pokemonshowdown.com/src/client-main.ts b/play.pokemonshowdown.com/src/client-main.ts index 12ddbcb6d..313674f38 100644 --- a/play.pokemonshowdown.com/src/client-main.ts +++ b/play.pokemonshowdown.com/src/client-main.ts @@ -1094,8 +1094,14 @@ export class PSRoom extends PSStreamModel implements RoomOptions { this.title = args[1]; PS.update(); break; + } case 'notify': { + const [, title, body, toHighlight] = args; + if (toHighlight && !ChatRoom.getHighlight(toHighlight, this.id)) break; + this.notify({ title, body }); + break; } case 'tempnotify': { const [, id, title, body, toHighlight] = args; + if (toHighlight && !ChatRoom.getHighlight(toHighlight, this.id)) break; this.notify({ title, body, id }); break; } case 'tempnotifyoff': {