From 334783cd3a6708eec05c683b9c3d19baf71b4a44 Mon Sep 17 00:00:00 2001 From: M66B <259573+M66B@users.noreply.github.com> Date: Mon, 26 Feb 2024 19:48:22 +0100 Subject: [PATCH] Fixed grouping accounts --- app/src/main/java/eu/faircode/email/DaoAccount.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/DaoAccount.java b/app/src/main/java/eu/faircode/email/DaoAccount.java index 1c5634a30c..c1a8667501 100644 --- a/app/src/main/java/eu/faircode/email/DaoAccount.java +++ b/app/src/main/java/eu/faircode/email/DaoAccount.java @@ -76,6 +76,7 @@ public interface DaoAccount { " LEFT JOIN folder AS drafts ON drafts.account = account.id AND drafts.type = '" + EntityFolder.DRAFTS + "'" + " LEFT JOIN folder AS sent ON sent.account = account.id AND sent.type = '" + EntityFolder.SENT + "'" + " WHERE (:settings OR account.synchronize)" + + " GROUP BY account.id" + " UNION " +