1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-03 00:18:31 +00:00
* Added: Setting for customizing how tab-completion matches emote names.
* Added: Clips pages now have support for opening emote cards when clicking an emote in the chat replay.
* Fixed: Issue where chat was not rendering as intended on clips pages.
* Fixed: Issue where the FFZ Control Center link was not added to clips pages.
* Fixed: The chat actions module being instantiated in memory twice.
* Fixed: Blank badges appearing in chat, most notably in historic messages, when a chat message has invalid badge data associated with it.
* Fixed: Use a mutation observer for detecting the drops Claim button, rather than a simple timeout, for better consistency.
* Fixed: Issue when using the webpack public path variable that may lead to URL generation with extra `/` characters, breaking some behavior in Firefox when packaged as a local extension.
* API Added: Support for displaying an emote's original name, if an emote has been given a collection-specific name, using an `original_name` field.
This commit is contained in:
SirStendec 2023-09-09 17:43:51 -04:00
parent fc009a84e7
commit 8ac95f3a52
25 changed files with 654 additions and 52 deletions

View file

@ -107,7 +107,7 @@ export default class Line extends Module {
}, user_block)
] : user_block);
return (<div class="tw-mg-b-1" style={{marginBottom:'0 !important'}}>
return (<div class="tw-mg-b-1">
<div
data-a-target="tw-animation-target"
class="ffz--clip-chat-line tw-animation tw-animation--animate tw-animation--duration-short tw-animation--fill-mode-both tw-animation--slide-in-bottom tw-animation--timing-ease"
@ -200,7 +200,7 @@ export default class Line extends Module {
if ( msg.message.userBadges )
for(const badge of msg.message.userBadges)
if ( badge )
if ( badge?.setID )
badges[badge.setID] = badge.version;
const out = {
@ -215,6 +215,7 @@ export default class Line extends Module {
roomLogin: room && room.login,
roomID: room && room.id,
badges,
id: msg.id,
ffz_badges: this.chat.badges.getBadges(author.id, author.login, room?.id, room?.login),
messageParts: msg.message.fragments
};