This commit is contained in:
Timothy Jaeryang Baek
2026-07-26 23:49:03 -04:00
parent 2196b4e1ff
commit 6f93ecd4fd
16 changed files with 550 additions and 62 deletions
+5
View File
@@ -3470,6 +3470,7 @@
const initChatHandler = async (history) => {
let _chatId = $chatId;
const selectedFolderId = $selectedFolder?.id;
if (!$temporaryChatEnabled) {
chat = await createNewChat(
@@ -3502,6 +3503,10 @@
await refreshChatList(localStorage.token);
}
if (selectedFolderId) {
await refreshFolderChatLists(selectedFolderId, chat);
}
selectedFolder.set(null);
} else {
_chatId = createTemporaryChatId($socket?.id);