Fire event after a chat has successfully loaded

This commit is contained in:
maver
2023-06-10 20:07:55 +02:00
parent d65a03d75d
commit c92de398b9

View File

@ -4368,6 +4368,7 @@ async function getChat() {
} }
await getChatResult(); await getChatResult();
await saveChat(); await saveChat();
eventSource.emit('chatLoaded', {detail: {id: this_chid, character: characters[this_chid]}});
setTimeout(function () { setTimeout(function () {