mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-15 17:46:55 +00:00
4.27.0
* Added: Support for Follower Emotes in the emote menu as well as tool-tips. (Closes #1071) * Fixed: The emote menu recalculating cached state unnecessarily due to Twitch unnecessarily recreating identical data structures. * Fixed: Hiding Unfollow buttons. (Closes #1070)
This commit is contained in:
parent
3fbf6ed961
commit
fc5b33a904
9 changed files with 145 additions and 32 deletions
|
@ -1361,6 +1361,11 @@ export const AddonEmotes = {
|
|||
else if ( type === EmoteTypes.ChannelPoints )
|
||||
source = this.i18n.t('emote.points', 'Channel Points Emote');
|
||||
|
||||
else if ( type === EmoteTypes.Follower && emote_set.owner?.login )
|
||||
source = this.i18n.t('emote.follower', 'Follower Emote ({source})', {
|
||||
source: emote_set.owner.displayName || emote_set.owner.login
|
||||
});
|
||||
|
||||
else if ( type === EmoteTypes.Subscription && emote_set.owner?.login )
|
||||
source = this.i18n.t('tooltip.channel', 'Channel: {source}', {
|
||||
source: emote_set.owner.displayName || emote_set.owner.login
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue