From 2cd1e2de41ab5f959314aca61bac9e8a2666274f Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 26 Feb 2019 11:39:23 +0000 Subject: [PATCH] Synchronize folders on on demand sync --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 35c0464adf..04461a3762 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -2231,6 +2231,9 @@ public class ServiceSynchronize extends LifecycleService { db.account().setAccountState(account.id, "connected"); Log.i(account.name + " connected"); + // Synchronize folders + synchronizeFolders(account, istore, new ServiceState()); + // Connect folder Log.i(folder.name + " connecting"); db.folder().setFolderState(folder.id, "connecting");