mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Allow refreshing unified system folders
This commit is contained in:
@@ -53,8 +53,9 @@ public interface DaoFolder {
|
||||
@Query("SELECT folder.* FROM folder" +
|
||||
" JOIN account ON account.id = folder.account" +
|
||||
" WHERE account.synchronize" +
|
||||
" AND folder.synchronize AND unified")
|
||||
List<EntityFolder> getFoldersSynchronizingUnified();
|
||||
" AND folder.synchronize" +
|
||||
" AND ((:type IS NULL AND folder.unified) OR folder.type = :type)")
|
||||
List<EntityFolder> getFoldersSynchronizingUnified(String type);
|
||||
|
||||
@Query("SELECT folder.* FROM folder" +
|
||||
" JOIN account ON account.id = folder.account" +
|
||||
|
||||
Reference in New Issue
Block a user