(fix) properly handle CID images in S/MIME signed messages

This commit is contained in:
Ludovic Marcotte
2018-01-13 11:45:12 -05:00
parent a33df49331
commit 30817079f2

View File

@@ -268,6 +268,8 @@
viewer = [[[self context] mailRenderingContext] viewerForBodyInfo: info];
[viewer setBodyInfo: info];
[viewer setPartPath: [self childPartPath]];
[viewer setAttachmentIds: attachmentIds];
if ([[self decodedFlatContent] isKindOfClass: [NGMimeMultipartBody class]])
[viewer setDecodedContent: [[parts objectAtIndex: i] body]];
[renderedParts addObject: [viewer renderedPart]];