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:
parent
38df2f6d24
commit
095a885d30
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue