mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Fixed checking folder connection
This commit is contained in:
@@ -965,6 +965,10 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
|
||||
if (!istore.isConnected())
|
||||
throw new StoreClosedException(istore);
|
||||
|
||||
for (EntityFolder folder : folders.keySet())
|
||||
if (!folders.get(folder).isOpen())
|
||||
throw new FolderClosedException(folders.get(folder));
|
||||
}
|
||||
Log.i(Helper.TAG, account.name + " done running=" + state.running);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user