diff --git a/app/src/main/java/eu/faircode/email/DaoAccount.java b/app/src/main/java/eu/faircode/email/DaoAccount.java index e262fc5356..ece426ed68 100644 --- a/app/src/main/java/eu/faircode/email/DaoAccount.java +++ b/app/src/main/java/eu/faircode/email/DaoAccount.java @@ -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 getAccounts(String user, int protocol);