Fix /send not saving chat in all cases

This commit is contained in:
Wolfsblvt 2024-07-24 20:54:05 +02:00
parent af2dcd39e9
commit 18099c5a58
1 changed files with 1 additions and 0 deletions

View File

@ -4698,6 +4698,7 @@ export async function sendMessageAsUser(messageText, messageBias, insertAt = nul
await eventSource.emit(event_types.MESSAGE_SENT, chat_id);
addOneMessage(message);
await eventSource.emit(event_types.USER_MESSAGE_RENDERED, chat_id);
await saveChatConditional();
}
}