1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Fixed grouping accounts

This commit is contained in:
M66B 2024-02-26 19:48:22 +01:00
parent fe552fe1a6
commit 334783cd3a

View file

@ -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 " +