diff --git a/src/main.js b/src/main.js index 83a6c8d0..b7df8656 100644 --- a/src/main.js +++ b/src/main.js @@ -149,7 +149,7 @@ ${typeof x[1] === 'string' ? x[1] : JSON.stringify(x[1], null, 4)}` FrankerFaceZ.Logger = Logger; const VER = FrankerFaceZ.version_info = { - major: 4, minor: 0, revision: 0, extra: '-rc13.19', + major: 4, minor: 0, revision: 0, extra: '-rc13.20', commit: __git_commit__, build: __webpack_hash__, toString: () => diff --git a/src/sites/twitch-twilight/modules/channel_bar.jsx b/src/sites/twitch-twilight/modules/channel_bar.jsx index e62cc83c..e364e512 100644 --- a/src/sites/twitch-twilight/modules/channel_bar.jsx +++ b/src/sites/twitch-twilight/modules/channel_bar.jsx @@ -132,7 +132,7 @@ export default class ChannelBar extends Module { updateChannelBar(inst) { - const login = get('props.userData.user.login', inst); + const login = get('props.channel.login', inst); if ( login !== inst._ffz_old_login ) { if ( inst._ffz_old_login ) this.socket.unsubscribe(inst, `channel.${inst._ffz_old_login}`); @@ -176,7 +176,7 @@ export default class ChannelBar extends Module { const timers = inst._ffz_meta_timers = inst._ffz_meta_timers || {}, refresh_func = key => this.updateMetadata(inst, key), data = { - channel: inst.props.userData && inst.props.userData.user, + channel: inst.props.channel, hosting: false, legacy: true, _inst: inst