1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 01:06:04 +00:00

Prevent crash

This commit is contained in:
M66B 2018-12-16 08:40:25 +01:00
parent 2e34f18cbc
commit 0b468b839b

View file

@ -42,7 +42,7 @@ public interface DaoFolder {
@Query("SELECT * FROM folder WHERE synchronize")
List<EntityFolder> getFoldersSynchronizing();
@Query("SELECT * FROM folder" +
@Query("SELECT folder.* FROM folder" +
" JOIN account ON account.id = folder.account" +
" WHERE account.synchronize AND folder.synchronize AND unified")
List<EntityFolder> getFoldersSynchronizingUnified();