mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 12:37:37 +00:00
Hide no-name contacts from system search results.
This commit is contained in:
@@ -571,6 +571,7 @@ public class RecipientDatabase extends Database {
|
|||||||
String selection = BLOCKED + " = ? AND " +
|
String selection = BLOCKED + " = ? AND " +
|
||||||
REGISTERED + " != ? AND " +
|
REGISTERED + " != ? AND " +
|
||||||
GROUP_ID + " IS NULL AND " +
|
GROUP_ID + " IS NULL AND " +
|
||||||
|
SYSTEM_DISPLAY_NAME + " NOT NULL AND " +
|
||||||
"(" + PHONE + " NOT NULL OR " + EMAIL + " NOT NULL) AND " +
|
"(" + PHONE + " NOT NULL OR " + EMAIL + " NOT NULL) AND " +
|
||||||
"(" +
|
"(" +
|
||||||
PHONE + " LIKE ? OR " +
|
PHONE + " LIKE ? OR " +
|
||||||
|
Reference in New Issue
Block a user