Merge pull request #3648 from element-hq/feature/bma/identityChangeFeatureFlag

Add feature flag IdentityPinningViolationNotifications.
This commit is contained in:
Benoit Marty 2024-10-10 17:20:29 +02:00 committed by GitHub
commit 9c7f2b992a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 68 additions and 3 deletions

View file

@ -125,4 +125,17 @@ enum class FeatureFlags(
defaultValue = { false },
isFinished = false,
),
IdentityPinningViolationNotifications(
key = "feature.identityPinningViolationNotifications",
title = "Identity pinning violation notifications",
description = null,
defaultValue = { buildMeta ->
when (buildMeta.buildType) {
// Do not enable this feature in release builds
BuildType.RELEASE -> false
else -> true
}
},
isFinished = false,
),
}