Fix char A/N and expressions folder for first in the list

This commit is contained in:
Cohee
2025-02-28 09:12:22 +00:00
parent 2461913f85
commit 1aae08be5b
2 changed files with 3 additions and 3 deletions

View File

@ -624,7 +624,7 @@ function getFolderNameByMessage(message) {
if (context.groupId) {
avatarPath = message.original_avatar || context.characters.find(x => message.force_avatar && message.force_avatar.includes(encodeURIComponent(x.avatar)))?.avatar;
}
else if (context.characterId) {
else if (context.characterId !== undefined) {
avatarPath = getCharaFilename();
}