fix: opening another channel thread after a search result no longer shows it empty (#32517)

This commit is contained in:
G30 2026-10-16 06:08:41 -04:00 • committed by GitHub
parent f5a26f53a0
commit d00044cdda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = () => {