1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-08 23:30:53 +00:00
* Added: Setting to control the priority of third-party emote providers. This lets you, as an example, prioritize emotes from 7TV over BetterTTV. Note that these priorities are still secondary to emote source priorities (personal emotes > channel emotes > global emotes). (Closes #1587)
* Added: Setting to replace the native player 'Clip' button with a custom button that better fits the style of the other buttons. (Closes #1580)
* Fixed: Highlighting messages from users with open viewer cards not working correctly with alternating background colors enabled. (Closes #1581)
* Fixed: Various directory features not working correctly. (Closes #1588)
* Fixed: Emotes unlocked with channel points appearing on FFZ emote cards with the source 'CHANNEL_POINTS'.
* Fixed: The Experiments UI failing to load correctly if an experiment has no name.
* Experiments: Preparing for a new PubSub experiment.
* API Added: `emotes.setProvider(provider: string, data: {name: string, icon: string, description: string})` for registering an emote provider. This is used by the new setting to let users customize emote provider priorities.
* API Added: All modules now have a `addon_manifest` property which will contain the add-on's manifest if the module belongs to an add-on.
This commit is contained in:
SirStendec 2024-12-03 16:15:11 -05:00
parent 6f8c20640f
commit 1d046fca2b
22 changed files with 622 additions and 894 deletions

View file

@ -369,10 +369,10 @@ export default class Room {
this.data = d;
this.removeAllSets('main');
this.removeAllSets('ffz-main');
if ( d.set )
this.addSet('main', d.set);
this.addSet('ffz-main', d.set);
if ( data.sets )
for(const set_id in data.sets)
@ -408,7 +408,7 @@ export default class Room {
return;
if ( ! this.emote_sets )
this.emote_sets = new SourcedSet;
this.emote_sets = new SourcedSet(false, this.manager.emotes.sourceSortFn);
if ( typeof set_id === 'number' )
set_id = `${set_id}`;