Fixed autocrypt keydata

This commit is contained in:
M66B
2019-06-30 08:56:33 +02:00
parent eb009db29f
commit a1434ca3cf
3 changed files with 44 additions and 18 deletions

View File

@@ -252,7 +252,7 @@ public class MessageHelper {
if (message.from != null && message.from.length > 0)
for (EntityAttachment attachment : attachments)
if (attachment.available && EntityAttachment.PGP_SIGNATURE.equals(attachment.encryption)) {
if (attachment.available && EntityAttachment.PGP_KEY.equals(attachment.encryption)) {
InternetAddress from = (InternetAddress) message.from[0];
File file = attachment.getFile(context);
StringBuilder sb = new StringBuilder();