mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Synchronizing accounts only
This commit is contained in:
@@ -120,8 +120,11 @@ public interface DaoFolder {
|
||||
" GROUP BY folder.id")
|
||||
LiveData<List<TupleFolderEx>> liveUnified(String type);
|
||||
|
||||
@Query("SELECT account, id AS folder, unified, sync_state FROM folder" +
|
||||
" WHERE sync_state IS NOT NULL" +
|
||||
@Query("SELECT folder.account, folder.id AS folder, unified, sync_state" +
|
||||
" FROM folder" +
|
||||
" JOIN account ON account.id = folder.account" +
|
||||
" WHERE account.`synchronize`" +
|
||||
" AND sync_state IS NOT NULL" +
|
||||
" AND folder.type <> '" + EntityFolder.OUTBOX + "'")
|
||||
LiveData<List<TupleFolderSync>> liveSynchronizing();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user