This commit is contained in:
Timothy Jaeryang Baek
2026-04-10 10:15:55 -07:00
parent 1dcbfd47fb
commit bd3a3635ee
3 changed files with 36 additions and 23 deletions
+5 -3
View File
@@ -1245,10 +1245,12 @@
}
}
if (query) {
messageInput?.setText(query);
if (query || eventFiles?.length) {
if (query) {
messageInput?.setText(query);
}
await tick();
submitHandler(query);
submitHandler(query || '');
}
} else if ($page.url.searchParams.get('q')) {
const q = $page.url.searchParams.get('q') ?? '';