Comment out persona preservation on character swap with personas open

6541dcbc66d650b9c9ebd36d70524af5cd8e295e

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -0Showing whitespace changes
public/scripts/personas.js+2 -0
@@ -1382,6 +1382,7 @@ async function loadPersonaForCurrentChat({ doRender = false } = {}) {
13821382
1383 // If the persona panel is open when the chat changes, this is likely because a character was selected from that panel.1383 // If the persona panel is open when the chat changes, this is likely because a character was selected from that panel.
1384 // In that case, we are not automatically switching persona - but need to make changes if there is any chat-bound connection1384 // In that case, we are not automatically switching persona - but need to make changes if there is any chat-bound connection
1385 /*
1385 if (isPersonaPanelOpen()) {1386 if (isPersonaPanelOpen()) {
1386 if (chatPersona) {1387 if (chatPersona) {
1387 // If the chat-bound persona is the currently selected one, we can simply exit out1388 // If the chat-bound persona is the currently selected one, we can simply exit out
@@ -1404,6 +1405,7 @@ async function loadPersonaForCurrentChat({ doRender = false } = {}) {
1404 return false;1405 return false;
1405 }1406 }
1406 }1407 }
1408 */
14071409
1408 // Check if we have any persona connected to the current character1410 // Check if we have any persona connected to the current character
1409 if (!chatPersona) {1411 if (!chatPersona) {