Refactoring

pull/162/head
M66B 5 years ago
parent cb791f30d3
commit 00e11c2000

@ -759,7 +759,7 @@ class Core {
ifolder.fetch(new Message[]{imessage}, fp);
EntityMessage message = synchronizeMessage(context, account, folder, ifolder, imessage, false, download, rules, state);
if (message != null && download)
if (download && message != null)
downloadMessage(context, folder, ifolder, imessage, message.id, state);
} finally {
imessage.invalidateHeaders();

Loading…
Cancel
Save