mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 00:18:31 +00:00
4.52.0
* 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:
parent
fc009a84e7
commit
8ac95f3a52
25 changed files with 654 additions and 52 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue