mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Case insensitive canonical email addresses
This commit is contained in:
@@ -56,7 +56,7 @@ public interface DaoIdentity {
|
||||
@Query("SELECT * FROM identity WHERE id = :id")
|
||||
EntityIdentity getIdentity(long id);
|
||||
|
||||
@Query("SELECT * FROM identity WHERE account = :account AND email = :email")
|
||||
@Query("SELECT * FROM identity WHERE account = :account AND email = :email COLLATE NOCASE")
|
||||
EntityIdentity getIdentity(long account, String email);
|
||||
|
||||
@Query("SELECT COUNT(*) FROM identity WHERE synchronize")
|
||||
|
||||
Reference in New Issue
Block a user