Commit dc7114bd authored by Andreas Buff's avatar Andreas Buff
Browse files

IOS-2896 fixes: filename missing in MIME for inlined attachments

parent 239dcd61
......@@ -109,6 +109,9 @@ extension CWIMAPMessage {
if let fileName = attachmentObj.filename {
if let cid = fileName.extractCid() {
let placeholderFilename = NSLocalizedString("image",
comment: "Placeholder filename used for inlined images (as the real filename is lost due to the Engine message having only one field for content-id, filename and name)")
} else {
let theFilePart = fileName.extractFileName() ?? fileName
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment