mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-17 02:16:54 +00:00
4.21.2
* 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:
parent
2f41f520af
commit
b685ed3ce7
11 changed files with 86 additions and 28 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue