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

4.0.0-rc12.8

* Fixed: The channel metadata issue, on the legacy channel layout.
This commit is contained in:
SirStendec 2018-08-07 22:03:34 -04:00
parent 321ba85e7a
commit bdfdc0d75f
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.7', major: 4, minor: 0, revision: 0, extra: '-rc12.8',
commit: __git_commit__, commit: __git_commit__,
build: __webpack_hash__, build: __webpack_hash__,
toString: () => toString: () =>

View file

@ -5,7 +5,7 @@
// ============================================================================ // ============================================================================
import Module from 'utilities/module'; import Module from 'utilities/module';
import {deep_copy} from 'utilities/object'; import {get, deep_copy} from 'utilities/object';
import CHANNEL_QUERY from './channel_bar_query.gql'; import CHANNEL_QUERY from './channel_bar_query.gql';
@ -68,7 +68,7 @@ export default class LegacyChannelBar extends Module {
updateChannelBar(inst) { updateChannelBar(inst) {
const login = inst.props.channelLogin; const login = get('props.userData.user.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}`);