mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Temporary persona toast respects setting
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user