diff --git a/src/main.js b/src/main.js index 13ecab3c..10893c05 100644 --- a/src/main.js +++ b/src/main.js @@ -100,7 +100,7 @@ class FrankerFaceZ extends Module { FrankerFaceZ.Logger = Logger; const VER = FrankerFaceZ.version_info = { - major: 4, minor: 0, revision: 0, extra: '-rc12.8', + major: 4, minor: 0, revision: 0, extra: '-rc12.9', commit: __git_commit__, build: __webpack_hash__, toString: () => diff --git a/src/sites/twitch-twilight/modules/channel.js b/src/sites/twitch-twilight/modules/channel.js index 1a5a244b..dc4b248b 100644 --- a/src/sites/twitch-twilight/modules/channel.js +++ b/src/sites/twitch-twilight/modules/channel.js @@ -44,7 +44,7 @@ export default class Channel extends Module { this.ChannelPage = this.fine.define( 'channel-page', - n => (n.getHostedChannelLogin && n.handleHostingChange) || n.hostModeFromGraphQL, + n => (n.getHostedChannelLogin && n.handleHostingChange) || (n.onChatHostingChange && n.state && has(n.state, 'hostMode')), ['user', 'video', 'user-video', 'user-clip', 'user-videos', 'user-clips', 'user-collections', 'user-events', 'user-followers', 'user-following'] ); @@ -129,7 +129,7 @@ export default class Channel extends Module { return; const t = this, - new_style = !!inst.hostModeFromGraphQL; + new_style = ! inst.handleHostingChange || has(inst.state, 'hostMode'); inst.ffzGetChannel = () => { const params = inst.props.match.params