Temporary persona toast respects setting

This commit is contained in:
Wolfsblvt
2025-01-25 19:27:29 +01:00
parent ef73ab43da
commit 3fc4207cdb

View File

@@ -748,6 +748,7 @@ function selectCurrentPersona() {
} }
// As the last step, inform user if the persona is only temporarily chosen // As the last step, inform user if the persona is only temporarily chosen
if (power_user.persona_show_notifications) {
const hasDifferentChatLock = !!chat_metadata['persona'] && chat_metadata['persona'] !== user_avatar; const hasDifferentChatLock = !!chat_metadata['persona'] && chat_metadata['persona'] !== user_avatar;
const hasDifferentDefaultLock = power_user.default_persona && power_user.default_persona !== user_avatar; const hasDifferentDefaultLock = power_user.default_persona && power_user.default_persona !== user_avatar;
@@ -761,6 +762,7 @@ function selectCurrentPersona() {
} }
} }
} }
}
/** /**
* Checks if a connection is locked for the current character or group edit menu * Checks if a connection is locked for the current character or group edit menu