mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
4.24.1
* Fixed: The FFZ Emote Menu not replacing the default Twitch emote menu.
This commit is contained in:
parent
2340992977
commit
d5478d71cd
2 changed files with 9 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "frankerfacez",
|
||||
"author": "Dan Salvato LLC",
|
||||
"version": "4.24.0",
|
||||
"version": "4.24.1",
|
||||
"description": "FrankerFaceZ is a Twitch enhancement suite.",
|
||||
"private": true,
|
||||
"license": "Apache-2.0",
|
||||
|
|
|
@ -344,7 +344,8 @@ export default class EmoteMenu extends Module {
|
|||
|
||||
this.EmoteMenu = this.fine.define(
|
||||
'chat-emote-menu',
|
||||
n => n.subscriptionProductHasEmotes,
|
||||
n => n.getAllEmoteSets && n.getSortedChannelEmotes && n.props?.emotePickerSource,
|
||||
//n => n.subscriptionProductHasEmotes,
|
||||
Twilight.CHAT_ROUTES
|
||||
)
|
||||
|
||||
|
@ -410,13 +411,12 @@ export default class EmoteMenu extends Module {
|
|||
const old_render = cls.prototype.render;
|
||||
|
||||
cls.prototype.render = function() {
|
||||
if ( ! this.props || ! has(this.props, 'channelOwnerID') || ! t.chat.context.get('chat.emote-menu.enabled') ) {
|
||||
this._ffz_no_scan = false;
|
||||
this._ffz_no_scan = false;
|
||||
|
||||
if ( ! this.props || ! has(this.props, 'channelID') || ! t.chat.context.get('chat.emote-menu.enabled') ) {
|
||||
return old_render.call(this);
|
||||
}
|
||||
|
||||
this._ffz_no_scan = true;
|
||||
|
||||
return (<t.MenuErrorWrapper visible={this.props.visible}>
|
||||
<t.MenuComponent
|
||||
source={this.props.emotePickerSource}
|
||||
|
@ -425,9 +425,9 @@ export default class EmoteMenu extends Module {
|
|||
channel_data={this.props.channelData}
|
||||
emote_data={this.props.emoteSetsData}
|
||||
user_id={this.props.currentUserID}
|
||||
channel_id={this.props.channelOwnerID}
|
||||
loading={this.state.gqlLoading}
|
||||
error={this.state.gqlError}
|
||||
channel_id={this.props.channelID}
|
||||
loading={this.props.channelData?.loading || this.props.emoteSetsData?.loading}
|
||||
error={this.props.channelData?.error || this.props.emoteSetsData?.error}
|
||||
onClickToken={this.props.onClickToken}
|
||||
/>
|
||||
</t.MenuErrorWrapper>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue