mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
GODT-1777: Also include Reply-To and In-Reply-To in message hash
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user