Skip to content

Commit

Permalink
fix: dont tag events (pins, donos, etc)
Browse files Browse the repository at this point in the history
  • Loading branch information
vyneer committed Dec 1, 2023
1 parent d5ce32b commit 3ded990
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/chat/js/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3ded990

Please sign in to comment.