From d00044cdda5f0c9f72a42a559e0990755ea0accb Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Fri, 16 Oct 2026 06:08:41 -0400 Subject: [PATCH] fix: opening another channel thread after a search result no longer shows it empty (#32517) --- src/lib/components/channel/Thread.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/components/channel/Thread.svelte b/src/lib/components/channel/Thread.svelte index 270e87a17f..9ac74ce8a7 100644 --- a/src/lib/components/channel/Thread.svelte +++ b/src/lib/components/channel/Thread.svelte @@ -35,7 +35,11 @@ let typingUsersTimeout = {}; $: if (threadId) { - initHandler($page.url.searchParams.get('message') ?? ''); + initHandler( + $page.url.searchParams.get('thread') === threadId + ? ($page.url.searchParams.get('message') ?? '') + : '' + ); } const scrollToBottom = () => {