Save itemized prompts between sessions

This commit is contained in:
Cohee
2023-11-04 23:25:22 +02:00
parent 2f9b247c46
commit 36c627bd1b
3 changed files with 84 additions and 37 deletions

View File

@ -268,11 +268,11 @@ async function RA_autoloadchat() {
let active_character_id = Object.keys(characters).find(key => characters[key].avatar === active_character);
if (active_character_id !== null) {
selectCharacterById(String(active_character_id));
await selectCharacterById(String(active_character_id));
}
if (active_group != null) {
openGroupById(String(active_group));
await openGroupById(String(active_group));
}
// if the character list hadn't been loaded yet, try again.