mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
2e34f18cbc
commit
0b468b839b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue