fix(BRIDGE-378): Fix incorrect field usage for system mailbox names

This commit is contained in:
Atanas Janeshliev
2025-06-03 17:36:58 +02:00
parent 2aa8acfb5b
commit c02bae5eb2

View File

@ -122,9 +122,10 @@ func GetMailboxName(label proton.Label) []string {
case proton.LabelTypeLabel: case proton.LabelTypeLabel:
name = append([]string{labelPrefix}, label.Path...) name = append([]string{labelPrefix}, label.Path...)
case proton.LabelTypeContactGroup:
fallthrough
case proton.LabelTypeSystem: case proton.LabelTypeSystem:
name = []string{label.Name}
case proton.LabelTypeContactGroup:
fallthrough fallthrough
default: default:
name = label.Path name = label.Path