Prevent crash

This commit is contained in:
M66B 2018-12-16 08:40:25 +01:00
parent 2e34f18cbc
commit 0b468b839b
1 changed files with 1 additions and 1 deletions

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();