1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 01:36:55 +00:00

Fixed checking folder connection

This commit is contained in:
M66B 2018-10-07 15:44:05 +00:00
parent 38df2f6d24
commit 095a885d30

View file

@ -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 {