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() {
748748 }
749749
750750 // As the last step, inform user if the persona is only temporarily chosen
751+ if (power_user.persona_show_notifications) {
751752 const hasDifferentChatLock = !!chat_metadata['persona'] && chat_metadata['persona'] !== user_avatar;
752753 const hasDifferentDefaultLock = power_user.default_persona && power_user.default_persona !== user_avatar;
753754
@@ -761,6 +762,7 @@ function selectCurrentPersona() {
761762 }
762763 }
763764 }
765+}
764766
765767/**
766768 * Checks if a connection is locked for the current character or group edit menu