Small improvement

pull/153/head
M66B 7 years ago
parent 9acafb1cef
commit 3e93251c69

@ -1776,7 +1776,7 @@ public class FragmentCompose extends FragmentBase {
List<EntityAttachment> attachments = db.attachment().getAttachments(ref.id);
for (EntityAttachment attachment : attachments)
if (attachment.available &&
!EntityAttachment.PGP_MESSAGE.equals(attachment.encryption) &&
attachment.encryption == null &&
("forward".equals(action) || attachment.isInline())) {
File source = attachment.getFile(context);

Loading…
Cancel
Save