mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-16 15:16:44 +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
|
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 {
|
if err := section.Walk(func(section *rfc822.Section) error {
|
||||||
children, err := section.Children()
|
children, err := section.Children()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user