mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
fix(BRIDGE-378): Fix incorrect field usage for system mailbox names
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user