Skip to content

Commit

Permalink
Remove customer feature check for labels
Browse files Browse the repository at this point in the history
This is no longer gated behind a feature customization.

Closes #8221
  • Loading branch information
paw-hub committed Jan 10, 2025
1 parent ede0668 commit 035e592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/api/common/TutanotaConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ export enum FeatureType {
AffiliatePartner = "12",
KnowledgeBase = "13",
Newsletter = "14",
Labels = "15", // enables blob attachments for mails
Unused15 = "15",
Unused16 = "16",
MultipleUsers = "17", // Multi-user support for new personal plans.
}
Expand Down
4 changes: 2 additions & 2 deletions src/mail-app/mail/model/MailModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,11 @@ export class MailModel {
}

canManageLabels(): boolean {
return this.logins.getUserController().isInternalUser() && this.logins.isEnabled(FeatureType.Labels)
return this.logins.getUserController().isInternalUser()
}

canAssignLabels(): boolean {
return this.logins.getUserController().isInternalUser() && this.logins.isEnabled(FeatureType.Labels)
return this.logins.getUserController().isInternalUser()
}

isExportingMailsAllowed(): boolean {
Expand Down

0 comments on commit 035e592

Please sign in to comment.