Browse Source

Enable Chat backup, Mentions and Read Receipt in release.

Also change default for debug to enabled, but keep `isFinished = false` for now, so that they are still disableable.
pull/2087/head
Benoit Marty 9 months ago committed by Benoit Marty
parent
commit
fac04034f1
  1. 6
      libraries/featureflag/api/src/main/kotlin/io/element/android/libraries/featureflag/api/FeatureFlags.kt
  2. 6
      libraries/featureflag/impl/src/main/kotlin/io/element/android/libraries/featureflag/impl/StaticFeatureFlagProvider.kt

6
libraries/featureflag/api/src/main/kotlin/io/element/android/libraries/featureflag/api/FeatureFlags.kt

@ -65,21 +65,21 @@ enum class FeatureFlags( @@ -65,21 +65,21 @@ enum class FeatureFlags(
key = "feature.mentions",
title = "Mentions",
description = "Type `@` to get mention suggestions and insert them",
defaultValue = false,
defaultValue = true,
isFinished = false,
),
SecureStorage(
key = "feature.securestorage",
title = "Chat backup",
description = "Allow access to backup and restore chat history settings",
defaultValue = false,
defaultValue = true,
isFinished = false,
),
ReadReceipts(
key = "feature.readreceipts",
title = "Show read receipts",
description = null,
defaultValue = false,
defaultValue = true,
isFinished = false,
),
}

6
libraries/featureflag/impl/src/main/kotlin/io/element/android/libraries/featureflag/impl/StaticFeatureFlagProvider.kt

@ -39,9 +39,9 @@ class StaticFeatureFlagProvider @Inject constructor() : @@ -39,9 +39,9 @@ class StaticFeatureFlagProvider @Inject constructor() :
FeatureFlags.NotificationSettings -> true
FeatureFlags.VoiceMessages -> true
FeatureFlags.PinUnlock -> true
FeatureFlags.Mentions -> false
FeatureFlags.SecureStorage -> false
FeatureFlags.ReadReceipts -> false
FeatureFlags.Mentions -> true
FeatureFlags.SecureStorage -> true
FeatureFlags.ReadReceipts -> true
}
} else {
false

Loading…
Cancel
Save