mirror of https://github.com/M66B/FairEmail.git
During ADD attachments might still be loading
This commit is contained in:
parent
130d2149f2
commit
d0ea5971c8
|
@ -1748,11 +1748,6 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
EntityIdentity identity =
|
EntityIdentity identity =
|
||||||
(message.identity == null ? null : db.identity().getIdentity(message.identity));
|
(message.identity == null ? null : db.identity().getIdentity(message.identity));
|
||||||
|
|
||||||
List<EntityAttachment> attachments = db.attachment().getAttachments(message.id);
|
|
||||||
for (EntityAttachment attachment : attachments)
|
|
||||||
if (!attachment.available)
|
|
||||||
throw new IllegalArgumentException("Attachment missing");
|
|
||||||
|
|
||||||
imessage = MessageHelper.from(this, message, isession,
|
imessage = MessageHelper.from(this, message, isession,
|
||||||
identity == null ? false : identity.plain_only);
|
identity == null ? false : identity.plain_only);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue