Merge pull request #518 from 50h100a/main

Mismatch between file and character names prevents chat logs from being deleted.
This commit is contained in:
Cohee
2023-06-18 16:34:42 +03:00
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@@ -940,7 +940,7 @@ async function delChat(chatfile) {
headers: getRequestHeaders(),
body: JSON.stringify({
chatfile: chatfile,
id: characters[this_chid].name
avatar_url: characters[this_chid].avatar,
}),
});
if (response.ok === true) {