protonmail: fix MessagePackageSet.Encrypt docs

This commit is contained in:
emersion 2018-01-11 00:05:13 +01:00
parent 0ac8dda458
commit 6e891b2ae2
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 3 deletions

View File

@ -271,9 +271,7 @@ func (w *outgoingMessageWriter) Close() error {
} }
// Encrypt encrypts the data that will be written to the returned // Encrypt encrypts the data that will be written to the returned
// io.WriteCloser. // io.WriteCloser, and optionally signs it.
//
// The signed parameter is ignored for now.
func (set *MessagePackageSet) Encrypt(mimeType string, signed *openpgp.Entity) (io.WriteCloser, error) { func (set *MessagePackageSet) Encrypt(mimeType string, signed *openpgp.Entity) (io.WriteCloser, error) {
set.MIMEType = mimeType set.MIMEType = mimeType