From 29eef6188ae4c00006ae759e1b3815b8bd091a87 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 6 Mar 2025 16:34:59 +0000 Subject: [PATCH] Filter searchable people list by accepted (#7915) --- src/components/dms/dialogs/SearchablePeopleList.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/dms/dialogs/SearchablePeopleList.tsx b/src/components/dms/dialogs/SearchablePeopleList.tsx index 3ac0b3ab02..05d6f723e1 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[] = []