1
0
Fork 0
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:
M66B 2024-08-01 18:29:42 +02:00
parent ebe717d54c
commit 766cbfb9f7

View file

@ -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);