From 49160bcd3e3c4f6de3fef1e615ee0f707cea72d3 Mon Sep 17 00:00:00 2001 From: Brandon McDonnell Date: Sat, 20 Oct 2018 22:31:53 +0000 Subject: [PATCH] protonmail: Fix typo in MessageBodyKey struct. --- protonmail/messages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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