Skip to content

Commit

Permalink
fix: include new broadcasts in focus mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vyneer committed Dec 11, 2023
1 parent 1fdfe1d commit 8f95f09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/chat/js/focus.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class ChatUserFocus {
rule = `.msg-user.${value}{opacity:1 !important;}`;
} else if (this.chat.settings.get('focusmentioned')) {
rule = `
.msg-broadcast[data-username="${value}"], .msg-broadcast[data-mentioned~="${value}"],
.msg-subscription[data-username="${value}"], .msg-subscription[data-mentioned~="${value}"],
.msg-giftsub[data-username="${value}"], .msg-giftsub[data-mentioned~="${value}"], .msg-giftsub[data-giftee="${value}"],
.msg-massgift[data-username="${value}"], .msg-massgift[data-mentioned~="${value}"],
Expand All @@ -58,6 +59,7 @@ class ChatUserFocus {
`;
} else {
rule = `
.msg-broadcast[data-username="${value}"],
.msg-subscription[data-username="${value}"],
.msg-giftsub[data-username="${value}"], .msg-giftsub[data-giftee="${value}"],
.msg-massgift[data-username="${value}"],
Expand Down

0 comments on commit 8f95f09

Please sign in to comment.