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.
This commit is contained in:
G30 2026-10-15 19:00:42 -04:00 • committed by GitHub
parent 8172291838
commit 0696bfdf27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,6 +49,7 @@
searchAnchor = anchor;
messages = null;
top = false;
replyToMessage = null;
typingUsers = [];
typingUsersTimeout = {};