mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-05 18:48:31 +00:00
4.0.0-rc13.20
* Fixed: Channel metadata not correctly getting the name of the current channel.
This commit is contained in:
parent
adbf50759c
commit
da727894d0
2 changed files with 3 additions and 3 deletions
|
@ -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: () =>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue