diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 58588c282..0d0cddd1f 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -858,6 +858,11 @@ const loadChat = async () => { chatId.set(chatIdProp); + + if ($temporaryChatEnabled) { + temporaryChatEnabled.set(false); + } + chat = await getChatById(localStorage.token, $chatId).catch(async (error) => { await goto('/'); return null; diff --git a/src/lib/components/chat/Navbar.svelte b/src/lib/components/chat/Navbar.svelte index de5d1c220..e0afe577e 100644 --- a/src/lib/components/chat/Navbar.svelte +++ b/src/lib/components/chat/Navbar.svelte @@ -193,6 +193,12 @@ + {#if $temporaryChatEnabled && $chatId === 'local'} +
+
Temporary Chat
+
+ {/if} + {#if !history.currentId && !$chatId && ($banners.length > 0 || ($config?.license_metadata?.type ?? null) === 'trial' || (($config?.license_metadata?.seats ?? null) !== null && $config?.user_count > $config?.license_metadata?.seats))}