Temporary persona toast respects setting

3fc4207cdb3240dc648025fc8924dd0f01b3fdff

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +2 -0Showing whitespace changes
public/scripts/personas.js+2 -0
@@ -748,6 +748,7 @@ function selectCurrentPersona() {
748 }748 }
749749
750 // As the last step, inform user if the persona is only temporarily chosen750 // As the last step, inform user if the persona is only temporarily chosen
751 if (power_user.persona_show_notifications) {
751 const hasDifferentChatLock = !!chat_metadata['persona'] && chat_metadata['persona'] !== user_avatar;752 const hasDifferentChatLock = !!chat_metadata['persona'] && chat_metadata['persona'] !== user_avatar;
752 const hasDifferentDefaultLock = power_user.default_persona && power_user.default_persona !== user_avatar;753 const hasDifferentDefaultLock = power_user.default_persona && power_user.default_persona !== user_avatar;
753754
@@ -761,6 +762,7 @@ function selectCurrentPersona() {
761 }762 }
762 }763 }
763 }764 }
765}
764766
765/**767/**
766 * Checks if a connection is locked for the current character or group edit menu768 * Checks if a connection is locked for the current character or group edit menu