Merge pull request #2553 from SillyTavern/fix-command-send-not-saving
Fix /send not saving chat in all cases
This commit is contained in:
commit
83f458fe49
|
@ -4698,6 +4698,7 @@ export async function sendMessageAsUser(messageText, messageBias, insertAt = nul
|
||||||
await eventSource.emit(event_types.MESSAGE_SENT, chat_id);
|
await eventSource.emit(event_types.MESSAGE_SENT, chat_id);
|
||||||
addOneMessage(message);
|
addOneMessage(message);
|
||||||
await eventSource.emit(event_types.USER_MESSAGE_RENDERED, chat_id);
|
await eventSource.emit(event_types.USER_MESSAGE_RENDERED, chat_id);
|
||||||
|
await saveChatConditional();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue