GODT-1777: Also include Reply-To and In-Reply-To in message hash

This commit is contained in:
James Houlahan
2022-10-24 14:26:56 +02:00
parent 036a416a25
commit 7745b68228

View File

@ -254,6 +254,14 @@ func getMessageHash(b []byte) (string, error) {
return "", err
}
if _, err := h.Write([]byte(header.Get("Reply-To"))); err != nil {
return "", err
}
if _, err := h.Write([]byte(header.Get("In-Reply-To"))); err != nil {
return "", err
}
if err := section.Walk(func(section *rfc822.Section) error {
children, err := section.Children()
if err != nil {