mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Case insensitive account lookup
This commit is contained in:
parent
ebe717d54c
commit
766cbfb9f7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue