Run auto-executed STscripts after message rendered

This commit is contained in:
Cohee 2023-12-07 02:12:49 +02:00
parent 24aff67d50
commit 393a15cd81
1 changed files with 2 additions and 2 deletions

View File

@ -885,8 +885,8 @@ jQuery(async () => {
await loadSettings('init');
addQuickReplyBar();
eventSource.on(event_types.MESSAGE_RECEIVED, onMessageReceived);
eventSource.on(event_types.MESSAGE_SENT, onMessageSent);
eventSource.on(event_types.CHARACTER_MESSAGE_RENDERED, onMessageReceived);
eventSource.on(event_types.USER_MESSAGE_RENDERED, onMessageSent);
eventSource.on(event_types.CHAT_CHANGED, onChatChanged);
eventSource.on(event_types.APP_READY, onAppReady);
});