Merge pull request #2553 from SillyTavern/fix-command-send-not-saving

Fix /send not saving chat in all cases
This commit is contained in:
Cohee
2024-07-24 22:13:43 +03:00
committed by GitHub

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();
}
}