Do not show unregistered contacts in search results.

This commit is contained in:
Greyson Parrelli
2024-05-17 16:40:46 -04:00
committed by Cody Henthorne
parent 7b0d3f36dc
commit 0425b70d31
3 changed files with 5 additions and 10 deletions

View File

@@ -203,6 +203,7 @@ class ContactSearchPagedDataSourceTest {
whenever(repository.getRecents(recents)).thenReturn(cursor)
whenever(repository.queryNonGroupContacts(isNull(), any())).thenReturn(cursor)
whenever(repository.querySignalContacts(any())).thenReturn(cursor)
whenever(cursor.count).thenReturn(10)
return ContactSearchPagedDataSource(configuration, repository)