From dbdccbf4da494a182d65bde7f7a7f591e861a6a8 Mon Sep 17 00:00:00 2001 From: Trogel Date: Mon, 9 Oct 2017 09:42:31 +0200 Subject: [PATCH] Don't try to download a message with local UID --- .../com/fsck/k9/controller/MessagingController.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java b/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java index f1062e461..a460fa861 100644 --- a/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java +++ b/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java @@ -2308,15 +2308,7 @@ public class MessagingController { // one we can't download completely. Maybe add a new flag; X_PARTIAL_MESSAGE ? message.setFlag(Flag.X_DOWNLOADED_FULL, true); message.setFlag(Flag.X_DOWNLOADED_PARTIAL, false); - } - - /*if (!message.isSet(Flag.X_DOWNLOADED_FULL)) */ - { - /* - * At this point the message is not available, so we need to download it - * fully if possible. - */ - + } else { Store remoteStore = account.getRemoteStore(); remoteFolder = remoteStore.getFolder(folder); remoteFolder.open(Folder.OPEN_MODE_RW);