From 8f95f09b30b87ce0ee192a10596e32c839347643 Mon Sep 17 00:00:00 2001 From: vyneer Date: Mon, 11 Dec 2023 23:34:39 +0300 Subject: [PATCH] fix: include new broadcasts in focus mode --- assets/chat/js/focus.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/chat/js/focus.js b/assets/chat/js/focus.js index 7466e592..41c38e39 100644 --- a/assets/chat/js/focus.js +++ b/assets/chat/js/focus.js @@ -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}"], @@ -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}"],