Skip to content

Commit

Permalink
Revert "fix: remove redundant containsMessage check"
Browse files Browse the repository at this point in the history
This reverts commit df5dea8.
  • Loading branch information
vyneer committed Dec 9, 2024
1 parent df5dea8 commit 56e2b1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/chat/js/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,9 @@ class Chat {
const win = this.mainwindow;

const message = MessageBuilder.message(data.data, usr, data.timestamp);
if (win.containsMessage(message)) {
return;
}

const isCombo =
this.emoteService.canUserUseEmote(usr, textonly) &&
Expand Down

0 comments on commit 56e2b1b

Please sign in to comment.