1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-15 17:46:55 +00:00
* 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:
SirStendec 2021-06-30 15:51:37 -04:00
parent 3fbf6ed961
commit fc5b33a904
9 changed files with 145 additions and 32 deletions

View file

@ -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