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;
|
FrankerFaceZ.Logger = Logger;
|
||||||
|
|
||||||
const VER = FrankerFaceZ.version_info = {
|
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__,
|
commit: __git_commit__,
|
||||||
build: __webpack_hash__,
|
build: __webpack_hash__,
|
||||||
toString: () =>
|
toString: () =>
|
||||||
|
|
|
@ -132,7 +132,7 @@ export default class ChannelBar extends Module {
|
||||||
|
|
||||||
|
|
||||||
updateChannelBar(inst) {
|
updateChannelBar(inst) {
|
||||||
const login = get('props.userData.user.login', inst);
|
const login = get('props.channel.login', inst);
|
||||||
if ( login !== inst._ffz_old_login ) {
|
if ( login !== inst._ffz_old_login ) {
|
||||||
if ( inst._ffz_old_login )
|
if ( inst._ffz_old_login )
|
||||||
this.socket.unsubscribe(inst, `channel.${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 || {},
|
const timers = inst._ffz_meta_timers = inst._ffz_meta_timers || {},
|
||||||
refresh_func = key => this.updateMetadata(inst, key),
|
refresh_func = key => this.updateMetadata(inst, key),
|
||||||
data = {
|
data = {
|
||||||
channel: inst.props.userData && inst.props.userData.user,
|
channel: inst.props.channel,
|
||||||
hosting: false,
|
hosting: false,
|
||||||
legacy: true,
|
legacy: true,
|
||||||
_inst: inst
|
_inst: inst
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue