Small improvement

This commit is contained in:
M66B 2019-03-15 18:47:58 +00:00
parent 9acafb1cef
commit 3e93251c69
1 changed files with 1 additions and 1 deletions

View File

@ -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);