mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Make overlay work with legacy bulk delete button
This commit is contained in:
@ -5526,6 +5526,8 @@ export async function getChatsFromFiles(data, isGroupChat) {
|
||||
* in descending order by file name. Returns `undefined` if the fetch request is unsuccessful.
|
||||
*/
|
||||
async function getPastCharacterChats() {
|
||||
if (!characters.includes(this_chid)) return;
|
||||
|
||||
const response = await fetch("/getallchatsofcharacter", {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ avatar_url: characters[this_chid].avatar }),
|
||||
|
Reference in New Issue
Block a user