mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Skip ignored contacts on search
This commit is contained in:
@@ -66,7 +66,8 @@ public interface DaoContact {
|
||||
" FROM contact" +
|
||||
" WHERE (:account IS NULL OR account = :account)" +
|
||||
" AND (:type IS NULL OR type = :type)" +
|
||||
" AND (email LIKE :query COLLATE NOCASE OR name LIKE :query COLLATE NOCASE)")
|
||||
" AND (email LIKE :query COLLATE NOCASE OR name LIKE :query COLLATE NOCASE)" +
|
||||
" AND state <> " + EntityContact.STATE_IGNORE)
|
||||
Cursor searchContacts(Long account, Integer type, String query);
|
||||
|
||||
@Insert
|
||||
|
||||
Reference in New Issue
Block a user