mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Added folders refresh
This commit is contained in:
@@ -39,6 +39,13 @@ public interface DaoFolder {
|
||||
" AND (account.synchronize AND NOT account.ondemand)")
|
||||
List<EntityFolder> getFoldersAutoSync();
|
||||
|
||||
@Query("SELECT folder.* FROM folder" +
|
||||
" JOIN account ON account.id = folder.account" +
|
||||
" WHERE folder.synchronize" +
|
||||
" AND account.id = :account" +
|
||||
" AND (account.synchronize AND account.ondemand)")
|
||||
List<EntityFolder> getFoldersOnDemandSync(long account);
|
||||
|
||||
@Query("SELECT folder.* FROM folder" +
|
||||
" JOIN account ON account.id = folder.account" +
|
||||
" WHERE account.synchronize AND folder.synchronize AND unified")
|
||||
|
||||
Reference in New Issue
Block a user