mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-06 11:08:30 +00:00
4.0.0-rc12.8
* Fixed: The channel metadata issue, on the legacy channel layout.
This commit is contained in:
parent
321ba85e7a
commit
bdfdc0d75f
2 changed files with 3 additions and 3 deletions
|
@ -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: () =>
|
||||||
|
|
|
@ -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}`);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue