Stop processing on folder closed

pull/194/merge
M66B 4 years ago
parent c19c364bc9
commit e476a6f3bf

@ -218,7 +218,7 @@ class Core {
if (account.protocol == EntityAccount.TYPE_IMAP && if (account.protocol == EntityAccount.TYPE_IMAP &&
!folder.local && ifolder != null && !ifolder.isOpen()) { !folder.local && ifolder != null && !ifolder.isOpen()) {
Log.w(folder.name + " is closed"); Log.w(folder.name + " is closed");
break; return;
} }
// Fetch most recent copy of message // Fetch most recent copy of message

Loading…
Cancel
Save