diff --git a/src/main.js b/src/main.js index 6821030d..1faef045 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: '-rc19.2', + major: 4, minor: 0, revision: 0, extra: '-rc19.3', commit: __git_commit__, build: __webpack_hash__, toString: () => diff --git a/src/sites/twitch-twilight/modules/chat/index.js b/src/sites/twitch-twilight/modules/chat/index.js index 98d6fce9..d522718e 100644 --- a/src/sites/twitch-twilight/modules/chat/index.js +++ b/src/sites/twitch-twilight/modules/chat/index.js @@ -1422,9 +1422,10 @@ export default class ChatHook extends Module { if ( chat.chatBuffer ) chat.chatBuffer.ffzController = chat; - if ( props.channelID !== chat.props.channelID ) { + if ( ! chat._ffz_room || props.channelID !== chat.props.channelID ) { this.removeRoom(chat); - this.chatMounted(chat, props); + if ( chat._ffz_mounted ) + this.chatMounted(chat, props); return; } @@ -1525,9 +1526,10 @@ export default class ChatHook extends Module { containerUpdated(cont, props) { - if ( props.channelID !== cont.props.channelID ) { + if ( ! cont._ffz_room || props.channelID !== cont.props.channelID ) { this.removeRoom(cont); - this.containerMounted(cont, props); + if ( cont._ffz_mounted ) + this.containerMounted(cont, props); return; }