Small improvement

This commit is contained in:
M66B 2019-02-22 16:47:55 +01:00
parent 7fe99c055b
commit 3fc0b6cb27
1 changed files with 1 additions and 1 deletions

View File

@ -1553,7 +1553,7 @@ public class ServiceSynchronize extends LifecycleService {
break; break;
case EntityOperation.SYNC: case EntityOperation.SYNC:
if (EntityFolder.OUTBOX.equals(folder.type)) if (folder.account == null)
db.folder().setFolderError(folder.id, null); db.folder().setFolderError(folder.id, null);
else else
synchronizeMessages(account, folder, (IMAPFolder) ifolder, jargs, state); synchronizeMessages(account, folder, (IMAPFolder) ifolder, jargs, state);