From 12aa0f2221702cb7d2eb71bfae4149ce5cf75695 Mon Sep 17 00:00:00 2001 From: SirStendec Date: Tue, 30 Jul 2024 16:57:44 -0400 Subject: [PATCH] 4.72.4 * Fixed: The community stack component changing internally, needing us to add a new rule to locate it. The community stack integration handles hiding things like hype trains, pinned messages, etc. at the top of chat. --- package.json | 2 +- src/sites/twitch-twilight/index.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index df88c216..e3ca5b9e 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "frankerfacez", "author": "Dan Salvato LLC", - "version": "4.72.3", + "version": "4.72.4", "description": "FrankerFaceZ is a Twitch enhancement suite.", "private": true, "license": "Apache-2.0", diff --git a/src/sites/twitch-twilight/index.js b/src/sites/twitch-twilight/index.js index 35259ff4..fbd00d93 100644 --- a/src/sites/twitch-twilight/index.js +++ b/src/sites/twitch-twilight/index.js @@ -254,6 +254,12 @@ Twilight.KNOWN_MODULES = { return n.w9; }, highlightstack: n => { + if ( has(n['g$']?._currentValue, 'highlights') && typeof n.SP?._currentValue === 'function' ) + return { + stack: n['g$'], + dispatch: n.SP + }; + if ( has(n.b, CALCULATE_BITS) && has(n.c, CALCULATE_BITS) ) return { stack: n.b,