1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-11 00:20:54 +00:00
* Added: Option to hide emote tool-tips from the FFZ Emote Menu, which can improve performance.
* Changed: Re-add support for older browsers that do not support `crypto.randomUUID()`. I do not consider this a bug, since users should realistically not be on browsers that old for their own safety, but it is a small enough change that I'll allow it.
* Fixed: The option to report emotes not appearing on emote cards for Twitch emotes. (Closes #1450)
* Fixed: Make rich embeds in Chat on Videos slightly narrower so they don't get cut off.
* API Added: Chat message objects now have `ffz_first_msg` and `ffz_returning` flags for use by add-ons.
* API Fixed: Cut down on unnecessary warning logging from `createElement`
This commit is contained in:
SirStendec 2024-01-16 13:59:39 -05:00
parent 786275e7d7
commit 44e30e985d
7 changed files with 53 additions and 10 deletions

View file

@ -2968,6 +2968,9 @@ export default class ChatHook extends Module {
message.roomLogin = chan;
}
message.ffz_first_msg = message.isFirstMsg || original.message?.isFirstMsg || false;
message.ffz_returning = original.message?.isReturningChatter || false;
if ( original.message ) {
const user = original.message.user,
flags = original.message.flags;