Canonicalize line endings for text messages (#86)
* Canonicalize line endings for text messages * Improve cleartext messages
This commit is contained in:
parent
a4d89bce32
commit
ce607e0fa8
6 changed files with 25 additions and 25 deletions
|
|
@ -33,7 +33,7 @@ func (keyRing *KeyRing) DecryptMIMEMessage(
|
|||
return
|
||||
}
|
||||
|
||||
body, attachments, attachmentHeaders, err := parseMIME(decryptedMessage.GetString(), verifyKey)
|
||||
body, attachments, attachmentHeaders, err := parseMIME(string(decryptedMessage.GetBinary()), verifyKey)
|
||||
if err != nil {
|
||||
callbacks.OnError(err)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue