forked from Silverfish/proton-bridge
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