|
|
|
@ -2831,7 +2831,6 @@ public class ServiceSynchronize extends LifecycleService {
|
|
|
|
|
fp.add(FetchProfile.Item.SIZE);
|
|
|
|
|
fp.add(IMAPFolder.FetchProfileItem.INTERNALDATE);
|
|
|
|
|
ifolder.fetch(new Message[]{imessage}, fp);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
MessageHelper.MessageParts parts = helper.getMessageParts();
|
|
|
|
|
|
|
|
|
@ -2845,8 +2844,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < attachments.size(); i++) {
|
|
|
|
|
EntityAttachment attachment = attachments.get(i);
|
|
|
|
|
for (EntityAttachment attachment : attachments)
|
|
|
|
|
if (!attachment.available)
|
|
|
|
|
if (!metered || (attachment.size != null && attachment.size < maxSize))
|
|
|
|
|
if (!parts.downloadAttachment(context, db, attachment.id, attachment.sequence))
|
|
|
|
|