|
|
@ -1187,6 +1187,7 @@ class Core {
|
|
|
|
if (!message.content)
|
|
|
|
if (!message.content)
|
|
|
|
throw new IllegalArgumentException("Message body missing");
|
|
|
|
throw new IllegalArgumentException("Message body missing");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!BuildConfig.DEBUG) {
|
|
|
|
List<EntityAttachment> attachments = db.attachment().getAttachments(message.id);
|
|
|
|
List<EntityAttachment> attachments = db.attachment().getAttachments(message.id);
|
|
|
|
for (EntityAttachment attachment : attachments)
|
|
|
|
for (EntityAttachment attachment : attachments)
|
|
|
|
if (EntityAttachment.SMIME_SIGNATURE.equals(attachment.encryption))
|
|
|
|
if (EntityAttachment.SMIME_SIGNATURE.equals(attachment.encryption))
|
|
|
@ -1204,6 +1205,7 @@ class Core {
|
|
|
|
db.attachment().setEncryption(content.id, null);
|
|
|
|
db.attachment().setEncryption(content.id, null);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
imessage = MessageHelper.from(context, message, null, isession, false);
|
|
|
|
imessage = MessageHelper.from(context, message, null, isession, false);
|
|
|
|
|
|
|
|
|
|
|
|