1
0

GODT-213: Preserve contenttype for undecryptable message body

This commit is contained in:
James Houlahan
2021-04-13 17:26:52 +02:00
parent 6c8e5f7cd3
commit 454d248819
2 changed files with 4 additions and 8 deletions

View File

@ -48,8 +48,7 @@ func writeCustomTextPart(
var hdr message.Header
// Even if it is HTML, we don't care... we abuse pgp/inline here.
hdr.SetContentType("text/plain", nil)
hdr.SetContentType(msg.MIMEType, nil)
part, err := w.CreatePart(hdr)
if err != nil {