From a5f4bde1cef7d5b60194ae2720ea333fd0e9dd6c Mon Sep 17 00:00:00 2001 From: vyneer Date: Thu, 4 Jan 2024 18:06:57 +0300 Subject: [PATCH] fix: undefined tag message/title being added to everyone --- assets/chat/js/window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/chat/js/window.js b/assets/chat/js/window.js index 4ce703e8..0eb6ec70 100644 --- a/assets/chat/js/window.js +++ b/assets/chat/js/window.js @@ -137,7 +137,7 @@ class ChatWindow extends EventEmitter { message.setContinued(this.isContinued(message, this.messages[i - 1])); message.setTag(chat.taggednicks.get(username)); } - message.setTagTitle(chat.taggednotes.get(username)); + message.setTagTitle(chat.taggednotes.get(username) ?? ''); message.setWatching(chat.user); if (message.moderated) {