mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 22:56:48 +00:00
feat(GODT-2569): Add functional test to validate community PR.
This commit is contained in:
committed by
Romain Le Jeune
parent
7002806999
commit
fbbd0245de
@ -327,14 +327,10 @@ func getParentID(
|
||||
default:
|
||||
// found multiple parents, search through metadata to try to find a singular parent that
|
||||
// was sent by this account.
|
||||
found_sent_by_us := false
|
||||
for _, metadata := range metadata {
|
||||
if metadata.Flags.Has(proton.MessageFlagSent) {
|
||||
if found_sent_by_us == true {
|
||||
parentID = ""
|
||||
}
|
||||
parentID = metadata.ID
|
||||
found_sent_by_us = true
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user