mirror of
https://github.com/M66B/FairEmail.git
synced 2026-05-15 20:08:38 +02:00
Case insensitive account lookup
This commit is contained in:
@@ -148,7 +148,7 @@ public interface DaoAccount {
|
||||
EntityAccount getAccount(String name);
|
||||
|
||||
@Query("SELECT * FROM account" +
|
||||
" WHERE user = :user" +
|
||||
" WHERE user = :user COLLATE NOCASE" +
|
||||
" AND pop = :protocol" +
|
||||
" AND tbd IS NULL")
|
||||
List<EntityAccount> getAccounts(String user, int protocol);
|
||||
|
||||
Reference in New Issue
Block a user