1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-07 06:40:54 +00:00
* Changed: Make the badge visibility settings page a bit nicer.
* Changed: Display add-on's maintainers field in the add-ons list.
* API Fixed: When iterating chat messages, include tokenized messages that have not been pushed out of the buffer yet.
This commit is contained in:
SirStendec 2023-11-03 16:04:35 -04:00
parent 71f347ab70
commit a5e5082d63
10 changed files with 81 additions and 11 deletions

View file

@ -1524,6 +1524,7 @@ export default class Chat extends Module {
iterateMessages(include_chat = true, include_whisper = true, include_video = true) {
const messages = [];
this.emit('chat:get-messages', include_chat, include_whisper, include_video, messages);
this.emit('chat:get-messages-late', include_chat, include_whisper, include_video, messages);
return messages;
}
@ -1729,6 +1730,8 @@ export default class Chat extends Module {
if ( ! msg )
return msg;
msg.ffz_standardized = true;
// Standardize User
if ( msg.sender && ! msg.user )
msg.user = msg.sender;