fix(GODT-2805): Ignore Contact Group Labels

This commit is contained in:
Leander Beernaert
2023-08-28 14:31:52 +02:00
parent 8aee732fe8
commit 06d7fdf26f
3 changed files with 11 additions and 2 deletions

View File

@ -133,7 +133,7 @@ func toIMAPMessage(message proton.MessageMetadata) imap.Message {
func WantLabel(label proton.Label) bool {
if label.Type != proton.LabelTypeSystem {
return true
return label.Type != proton.LabelTypeContactGroup
}
// nolint:exhaustive