Makes sense that a new temp chat starts if you were already on a temp chat

This commit is contained in:
Cohee
2025-07-10 09:21:10 +00:00
parent f477ed1d74
commit d785e7a7ce
+2 -1
View File
@@ -9993,7 +9993,8 @@ jQuery(async function () {
await doNewChat({ deleteCurrentChat: deleteCurrentChat });
}
if (!selected_group && this_chid === undefined && !is_send_press) {
await newAssistantChat({ temporary: true });
const alreadyInTempChat = this_chid === undefined && name2 === neutralCharacterName;
await newAssistantChat({ temporary: alreadyInTempChat });
}
}