mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-13 18:40:11 +01:00
await character renamed event
This commit is contained in:
parent
7b65427236
commit
231068f729
@ -6279,7 +6279,7 @@ export async function renameCharacter(name = null, { silent = false, renameChats
|
||||
saveSettingsDebounced();
|
||||
}
|
||||
|
||||
eventSource.emit(event_types.CHARACTER_RENAMED, oldAvatar, newAvatar);
|
||||
await eventSource.emit(event_types.CHARACTER_RENAMED, oldAvatar, newAvatar);
|
||||
|
||||
// Reload characters list
|
||||
await getCharacters();
|
||||
|
Loading…
x
Reference in New Issue
Block a user