During ADD attachments might still be loading

pull/149/head
M66B 6 years ago
parent 130d2149f2
commit d0ea5971c8

@ -1748,11 +1748,6 @@ public class ServiceSynchronize extends LifecycleService {
EntityIdentity 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,
identity == null ? false : identity.plain_only);
} else {

Loading…
Cancel
Save