Skip to content

Commit

Permalink
fix: undefined tag message/title being added to everyone (destinygg#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
vyneer authored Jan 8, 2024
1 parent a33f31c commit 76bdef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/chat/js/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 76bdef7

Please sign in to comment.