diff --git a/app/src/main/java/eu/faircode/email/DaoOperation.java b/app/src/main/java/eu/faircode/email/DaoOperation.java index ecc1a677f4..64db30695f 100644 --- a/app/src/main/java/eu/faircode/email/DaoOperation.java +++ b/app/src/main/java/eu/faircode/email/DaoOperation.java @@ -35,6 +35,7 @@ public interface DaoOperation { " WHEN operation.name = '" + EntityOperation.SYNC + "' THEN" + " CASE WHEN folder.account IS NULL THEN -1 ELSE 1 END" + // outbox " WHEN operation.name = '" + EntityOperation.FETCH + "' THEN 2" + + " WHEN operation.name = '" + EntityOperation.EXISTS + "' THEN 3" + " ELSE 0" + " END";