From 3ded9901500825b39deda0de42e7905a3483d8a7 Mon Sep 17 00:00:00 2001 From: vyneer Date: Fri, 1 Dec 2023 20:41:16 +0300 Subject: [PATCH] fix: dont tag events (pins, donos, etc) --- assets/chat/js/window.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/chat/js/window.js b/assets/chat/js/window.js index be45b57a..1a22edc8 100644 --- a/assets/chat/js/window.js +++ b/assets/chat/js/window.js @@ -133,7 +133,9 @@ class ChatWindow extends EventEmitter { message.setOwnMessage(username === chat.user.username); message.ignore(chat.ignored(username, message.message)); message.highlight(chat.shouldHighlightMessage(message)); - message.setTag(chat.taggednicks.get(username)); + if (message.type === MessageTypes.USER) { + message.setTag(chat.taggednicks.get(username)); + } message.setTagTitle(chat.taggednotes.get(username)); if (message.moderated) {