Fix /send not saving chat in all cases
This commit is contained in:
parent
af2dcd39e9
commit
18099c5a58
|
@ -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