diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 5f68320452..052b44fcd4 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -105,6 +105,7 @@ import Tooltip from '../common/Tooltip.svelte'; import Sidebar from '../icons/Sidebar.svelte'; import Image from '../common/Image.svelte'; + import { getBanners } from '$lib/apis/configs'; export let chatIdProp = ''; @@ -648,6 +649,7 @@ if (p.url.pathname === '/') { await tick(); initNewChat(); + banners.set(await getBanners(localStorage.token).catch(() => [])); } stopAudio();