diff --git a/protonmail/messages.go b/protonmail/messages.go index 89c26e2..4e0fa5c 100644 --- a/protonmail/messages.go +++ b/protonmail/messages.go @@ -403,7 +403,7 @@ type MessagePackageSet struct { Body string // Encrypted body data packet // Only if cleartext is sent - BodyKey *MessageBodyKey `json:omitempty` + BodyKey *MessageBodyKey `json:",omitempty"` AttachmentKeys map[string]string bodyKey *packet.EncryptedKey