mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 02:21:37 +01:00
Mark local contacts
This commit is contained in:
@@ -58,7 +58,7 @@ public interface DaoContact {
|
||||
" AND email = :email COLLATE NOCASE")
|
||||
EntityContact getContact(long account, int type, String email);
|
||||
|
||||
@Query("SELECT id AS _id, name, email" +
|
||||
@Query("SELECT id AS _id, name, email, name || ' *' AS display" +
|
||||
" FROM contact" +
|
||||
" WHERE (:account IS NULL OR account = :account)" +
|
||||
" AND (:type IS NULL OR type = :type)" +
|
||||
|
||||
Reference in New Issue
Block a user