From 0696bfdf276fe6331c6dfaf50c53676d08b1574a Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Thu, 15 Oct 2026 19:00:42 -0400 Subject: [PATCH] fix: a reply started in one channel thread no longer carries over to the next thread (#32490) On a wide window the thread side panel keeps one Thread instance while you open another thread, and initHandler reset the messages and typing state for the new thread but not replyToMessage. The "Replying to" banner stayed, and sending saved the new thread's message quoting a message from the previous thread. Clear replyToMessage in initHandler, as #31376 does for switching channels. --- src/lib/components/channel/Thread.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/channel/Thread.svelte b/src/lib/components/channel/Thread.svelte index 34125236c3..270e87a17f 100644 --- a/src/lib/components/channel/Thread.svelte +++ b/src/lib/components/channel/Thread.svelte @@ -49,6 +49,7 @@ searchAnchor = anchor; messages = null; top = false; + replyToMessage = null; typingUsers = []; typingUsersTimeout = {};