GODT-213: Use application/octet-stream for encrypted parts

This commit is contained in:
James Houlahan
2021-04-13 10:12:02 +02:00
parent f5aba717b2
commit 6c8e5f7cd3
3 changed files with 14 additions and 42 deletions

View File

@ -146,6 +146,12 @@ func writeTextPart(
return errors.Wrap(ErrDecryptionFailed, err.Error())
}
/*
if len(msg.Attachments) > 0 {
return writeCustomTextPartAsAttachment(w, msg, err)
}
*/
return writeCustomTextPart(w, msg, err)
}