Small improvement

This commit is contained in:
M66B
2019-02-27 16:50:34 +00:00
parent 32a178c200
commit fb2e7e840f
2 changed files with 2 additions and 4 deletions

View File

@@ -174,10 +174,7 @@ class Core {
break;
case EntityOperation.SYNC:
if (folder.account == null)
db.folder().setFolderError(folder.id, null);
else
synchronizeMessages(context, account, folder, (IMAPFolder) ifolder, jargs, state);
synchronizeMessages(context, account, folder, (IMAPFolder) ifolder, jargs, state);
break;
default:

View File

@@ -143,6 +143,7 @@ public class ServiceSend extends LifecycleService {
switch (op.name) {
case EntityOperation.SYNC:
db.folder().setFolderError(outbox.id, null);
break;
case EntityOperation.SEND: