Fixed replying to encrypted messages

This commit is contained in:
M66B 2019-03-15 18:39:01 +00:00
parent 538cd76d8f
commit f7e5cddaa5
1 changed files with 1 additions and 0 deletions

View File

@ -1776,6 +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) &&
("forward".equals(action) || attachment.isInline())) {
File source = attachment.getFile(context);