mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Background sync, simplifications
This commit is contained in:
@@ -508,11 +508,11 @@ public class FragmentMessages extends FragmentBase {
|
||||
if (fid < 0) {
|
||||
List<EntityFolder> folders = db.folder().getFoldersSynchronizingUnified();
|
||||
for (EntityFolder folder : folders)
|
||||
EntityOperation.sync(context, folder.id);
|
||||
EntityOperation.sync(context, folder.id, true);
|
||||
} else {
|
||||
EntityFolder folder = db.folder().getFolder(fid);
|
||||
if (folder != null)
|
||||
EntityOperation.sync(context, folder.id);
|
||||
EntityOperation.sync(context, folder.id, true);
|
||||
}
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
|
||||
Reference in New Issue
Block a user