Prevent crash

pull/162/head
M66B 5 years ago
parent 0dee2fa307
commit 2e9daa72e5

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

Loading…
Cancel
Save