diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-03-06 16:34:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-06 08:34:59 -0800 |
commit | 29eef6188ae4c00006ae759e1b3815b8bd091a87 (patch) | |
tree | e37e33516783cba9f9a765226a7b935aa2a3f10f | |
parent | ba3cff62f1ab6a0a005898fe298e2d1d13a8a308 (diff) | |
download | voidsky-29eef6188ae4c00006ae759e1b3815b8bd091a87.tar.zst |
Filter searchable people list by accepted (#7915)
-rw-r--r-- | src/components/dms/dialogs/SearchablePeopleList.tsx | 5 |
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[] = [] |