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.
This commit is contained in:
Benoit Marty 2023-12-21 15:24:55 +01:00 committed by Benoit Marty
parent 93fabfdc56
commit bedbb723d2
2 changed files with 6 additions and 6 deletions

View file

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

View file

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