Skip to content

Commit

Permalink
Media highlights mod
Browse files Browse the repository at this point in the history
  • Loading branch information
madprops committed Feb 15, 2025
1 parent ef27b2a commit a0b5c58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions public/static/assets/js/main/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -1524,8 +1524,10 @@ App.public_feedback = (message, data = false) => {
obj.brk = `<div class='inline'>${obj.brk}</div>`
}

if (App.check_highlights(message)) {
obj.highlight = true
if (data.username !== App.username) {
if (App.check_highlights(message)) {
obj.highlight = true
}
}

return App.make_announcement_message(obj)
Expand Down

0 comments on commit a0b5c58

Please sign in to comment.