1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-17 02:16:54 +00:00
* Added: Option to disable rendering of emotes in chat.
* Fixed: Thumbnails not being hidden on the home page of Twitch in some recommendation categories.
This commit is contained in:
SirStendec 2021-04-27 16:23:19 -04:00
parent 2f41f520af
commit b685ed3ce7
11 changed files with 86 additions and 28 deletions

View file

@ -1437,6 +1437,9 @@ export const AddonEmotes = {
if ( ! tokens || ! tokens.length )
return tokens;
if ( this.context.get('chat.emotes.enabled') !== 2 )
return tokens;
const emotes = this.emotes.getEmotes(
msg.user.id,
msg.user.login,
@ -1618,6 +1621,9 @@ export const TwitchEmotes = {
if ( ! msg.ffz_emotes )
return tokens;
if ( this.context.get('chat.emotes.enabled') < 1 )
return tokens;
const data = msg.ffz_emotes,
big = this.context.get('chat.emotes.2x'),
use_replacements = this.context.get('chat.fix-bad-emotes'),