From b857eb826782679407c7d1b5810d8a113085fb5c Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Wed, 30 Sep 2026 12:03:01 -0400 Subject: [PATCH] fix: find read-only shared notes when searching the chat's note picker (#30968) --- src/lib/components/chat/MessageInput/InputMenu/Notes.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/MessageInput/InputMenu/Notes.svelte b/src/lib/components/chat/MessageInput/InputMenu/Notes.svelte index 2c19b49f18..8221b5e4ef 100644 --- a/src/lib/components/chat/MessageInput/InputMenu/Notes.svelte +++ b/src/lib/components/chat/MessageInput/InputMenu/Notes.svelte @@ -61,7 +61,7 @@ const getItemsPage = async (activeRequestId = requestId) => { itemsLoading = true; const res = query.trim() - ? await searchNotes(localStorage.token, query.trim(), null, null, null, page).catch( + ? await searchNotes(localStorage.token, query.trim(), null, 'read', null, page).catch( () => null ) : await getNoteList(localStorage.token, page).catch(() => {