From 6e891b2ae29a1124f09f35663f3cc21592eb917f Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 11 Jan 2018 00:05:13 +0100 Subject: [PATCH] protonmail: fix MessagePackageSet.Encrypt docs --- protonmail/messages.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/protonmail/messages.go b/protonmail/messages.go index ef708f2..b7550c4 100644 --- a/protonmail/messages.go +++ b/protonmail/messages.go @@ -271,9 +271,7 @@ func (w *outgoingMessageWriter) Close() error { } // Encrypt encrypts the data that will be written to the returned -// io.WriteCloser. -// -// The signed parameter is ignored for now. +// io.WriteCloser, and optionally signs it. func (set *MessagePackageSet) Encrypt(mimeType string, signed *openpgp.Entity) (io.WriteCloser, error) { set.MIMEType = mimeType