GODT-2142: Also permit split by comma in References header

This commit is contained in:
James Houlahan
2022-11-22 19:08:03 +01:00
parent cb81175fa0
commit 555453bc1a
4 changed files with 51 additions and 8 deletions

View File

@ -163,8 +163,7 @@ func sendWithKey( //nolint:funlen
authAddrID string,
addrMode vault.AddressMode,
settings liteapi.MailSettings,
userKR *crypto.KeyRing,
addrKR *crypto.KeyRing,
userKR, addrKR *crypto.KeyRing,
emails []string,
from string,
to []string,
@ -177,7 +176,8 @@ func sendWithKey( //nolint:funlen
var decBody string
switch message.MIMEType { //nolint:exhaustive
// nolint:exhaustive
switch message.MIMEType {
case rfc822.TextHTML:
decBody = string(message.RichBody)