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:
parent
bdfdc0d75f
commit
4320f7b222
2 changed files with 3 additions and 3 deletions
|
@ -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: () =>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue