Reset message editor before switching active chat

This commit is contained in:
Cohee 2024-01-23 11:00:33 +02:00
parent 107fe85543
commit 9b42be2334
1 changed files with 1 additions and 0 deletions

View File

@ -1447,6 +1447,7 @@ async function printMessages() {
} }
async function clearChat() { async function clearChat() {
closeMessageEditor();
count_view_mes = 0; count_view_mes = 0;
extension_prompts = {}; extension_prompts = {};
if (is_delete_mode) { if (is_delete_mode) {