Keep flags when downloading complete message
Avoid that clicking "Download complete message" deletes all flags of the
affected message from the local store.
@@ -2322,6 +2322,7 @@ public class MessagingController {
} else {
FetchProfile fp = new FetchProfile();
fp.add(FetchProfile.Item.BODY);
+ fp.add(FetchProfile.Item.FLAGS);
remoteFolder.fetch(Collections.singletonList(remoteMessage), fp, null);
localFolder.appendMessages(Collections.singletonList(remoteMessage));
}
