1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-05 02:28:31 +00:00

4.0.0-rc12.9

* Fixed: Disable hosting not working on the new channel layout again.
This commit is contained in:
SirStendec 2018-08-08 23:23:10 -04:00
parent bdfdc0d75f
commit 4320f7b222
2 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ class FrankerFaceZ extends Module {
FrankerFaceZ.Logger = Logger; FrankerFaceZ.Logger = Logger;
const VER = FrankerFaceZ.version_info = { 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__, commit: __git_commit__,
build: __webpack_hash__, build: __webpack_hash__,
toString: () => toString: () =>

View file

@ -44,7 +44,7 @@ export default class Channel extends Module {
this.ChannelPage = this.fine.define( this.ChannelPage = this.fine.define(
'channel-page', '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'] ['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; return;
const t = this, const t = this,
new_style = !!inst.hostModeFromGraphQL; new_style = ! inst.handleHostingChange || has(inst.state, 'hostMode');
inst.ffzGetChannel = () => { inst.ffzGetChannel = () => {
const params = inst.props.match.params const params = inst.props.match.params