mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-28 08:50:55 +00:00
4.28.4
* Fixed: Current channel detection, both on channel pages and on mod view. (Closes #1099) * Fixed: Clicking the stream latency metadata not toggling the video stats display. * Fixed: Portrait mode not correctly positioning page content, notably breaking portrait mode with chat on top. * Fixed: Whisper messages not rendering correctly and logging error messages. * Fixed: Clip messages not rendering correctly and logging error messages, on the clips subdomain. * Fixed: Use `/3.0` URLs for Twitch's emote CDN rather than `/4.0` to prevent 404 errors. Kappa will look smaller to some users, but it's a price I'm willing to pay and entirely Twitch's fault anyways. * Fixed: Volume control not being hidden when gain control has replaced the default volume control.
This commit is contained in:
parent
c8bb667c53
commit
207fda2b36
10 changed files with 40 additions and 16 deletions
|
@ -99,7 +99,10 @@ export default class ModView extends Module {
|
|||
i = 0;
|
||||
while(state != null && channel == null && i < 50) {
|
||||
state = state?.next;
|
||||
channel = state?.memoizedState?.current?.previousData?.result?.data?.user;
|
||||
//channel = state?.memoizedState?.current?.previousData?.result?.data?.user;
|
||||
channel = state?.memoizedState?.current?.currentObservable?.lastResult?.data?.user;
|
||||
if ( ! channel )
|
||||
channel = state?.memoizedState?.current?.previous?.result?.previousData?.user;
|
||||
i++;
|
||||
}
|
||||
node = node?.child;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue