mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 06:56:42 +00:00
fix(GODT-3001): Only create system labels during system label sync
This commit is contained in:
@ -119,6 +119,10 @@ func (s *SyncUpdateApplier) SyncSystemLabelsOnly(ctx context.Context, labels map
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if label.Type != proton.LabelTypeSystem {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
for _, c := range connectors {
|
for _, c := range connectors {
|
||||||
update := newSystemMailboxCreatedUpdate(imap.MailboxID(label.ID), label.Name)
|
update := newSystemMailboxCreatedUpdate(imap.MailboxID(label.ID), label.Name)
|
||||||
updates = append(updates, update)
|
updates = append(updates, update)
|
||||||
|
|||||||
Reference in New Issue
Block a user