about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-03-06 16:34:59 +0000
committerGitHub <noreply@github.com>2025-03-06 08:34:59 -0800
commit29eef6188ae4c00006ae759e1b3815b8bd091a87 (patch)
treee37e33516783cba9f9a765226a7b935aa2a3f10f /src
parentba3cff62f1ab6a0a005898fe298e2d1d13a8a308 (diff)
downloadvoidsky-29eef6188ae4c00006ae759e1b3815b8bd091a87.tar.zst
Filter searchable people list by accepted (#7915)
Diffstat (limited to 'src')
-rw-r--r--src/components/dms/dialogs/SearchablePeopleList.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/dms/dialogs/SearchablePeopleList.tsx b/src/components/dms/dialogs/SearchablePeopleList.tsx
index 3ac0b3ab0..05d6f723e 100644
--- a/src/components/dms/dialogs/SearchablePeopleList.tsx
+++ b/src/components/dms/dialogs/SearchablePeopleList.tsx
@@ -77,7 +77,10 @@ export function SearchablePeopleList({
     isFetching,
   } = useActorAutocompleteQuery(searchText, true, 12)
   const {data: follows} = useProfileFollowsQuery(currentAccount?.did)
-  const {data: convos} = useListConvosQuery({enabled: showRecentConvos})
+  const {data: convos} = useListConvosQuery({
+    enabled: showRecentConvos,
+    status: 'accepted',
+  })
 
   const items = useMemo(() => {
     let _items: Item[] = []