diff --git a/package.json b/package.json index 1ae8d958..a18cd5ed 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "frankerfacez", "author": "Dan Salvato LLC", - "version": "4.35.1", + "version": "4.35.2", "description": "FrankerFaceZ is a Twitch enhancement suite.", "private": true, "license": "Apache-2.0", diff --git a/src/sites/twitch-twilight/modules/video_chat/index.jsx b/src/sites/twitch-twilight/modules/video_chat/index.jsx index f951bf92..08948848 100644 --- a/src/sites/twitch-twilight/modules/video_chat/index.jsx +++ b/src/sites/twitch-twilight/modules/video_chat/index.jsx @@ -53,19 +53,19 @@ export default class VideoChatHook extends Module { this.VideoChatController = this.fine.define( 'video-chat-controller', - n => n.onMessageScrollAreaMount && n.focusedCommentCallback, + n => n.onError && n.videoData && n.props?.comments, ['user-video', 'user-clip', 'video'] ); - this.VideoChatMenu = this.fine.define( + /*this.VideoChatMenu = this.fine.define( 'video-chat-menu', n => n.onToggleMenu && n.getContent && n.props && has(n.props, 'isExpandedLayout'), ['user-video', 'user-clip', 'video'] - ); + );*/ this.VideoChatLine = this.fine.define( 'video-chat-line', - n => n.onTimestampClickHandler && n.shouldFocusMessage, + n => n.onTimestampClickHandler && n.props?.messageContext, ['user-video', 'user-clip', 'video'] ); @@ -165,10 +165,10 @@ export default class VideoChatHook extends Module { } render() { - if ( ! t.VideoChatMenu._class ) + //if ( ! t.VideoChatMenu._class ) return null; - return (