mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 06:40:54 +00:00
4.48.0
* Fixed: The `/ffz reload` command is now `/ffz:reload` to remove an undesirable behavior with Twitch's completion handling when backspacing. * Fixed: Spaces being included in links when they shouldn't be. * Fixed: Previews of emotes in chat when typing their names directly. * Changed: Initial work on tracking the audio/video de-sync when using audio APIs for the compressor. This appears as a value in the stream latency metadata tool-tip, but currently drifts whenever the player is paused. * Changed: Initial work on allowing the extension to be loaded from a bundled extension. * API Changed: The load tracker now returns a list of reported loading keys when firing events.
This commit is contained in:
parent
67c64e6f7e
commit
109898a10d
13 changed files with 120 additions and 35 deletions
|
@ -1271,7 +1271,7 @@ export default class Chat extends Module {
|
|||
|
||||
this.on('chat:get-tab-commands', event => {
|
||||
event.commands.push({
|
||||
name: 'ffz reload',
|
||||
name: 'ffz:reload',
|
||||
description: this.i18n.t('chat.command.reload', 'Reload FFZ and add-on chat data (emotes, badges, etc.)'),
|
||||
permissionLevel: 0,
|
||||
ffz_group: 'FrankerFaceZ'
|
||||
|
@ -1292,11 +1292,11 @@ export default class Chat extends Module {
|
|||
this.emit('chat:reload-data');
|
||||
});
|
||||
|
||||
this.on('load_tracker:complete:chat-data', () => {
|
||||
this.on('load_tracker:complete:chat-data', (list) => {
|
||||
if ( this.triggered_reload ) {
|
||||
const sc = this.resolve('site.chat');
|
||||
if ( sc?.addNotice )
|
||||
sc.addNotice('*', this.i18n.t('chat.command.reload.done', 'FFZ has finished reloading data.'));
|
||||
sc.addNotice('*', this.i18n.t('chat.command.reload.done', 'FFZ has finished reloading data. (Sources: {list})', {list: list.join(', ')}));
|
||||
}
|
||||
|
||||
this.triggered_reload = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue