Read receipts: feature flag

This commit is contained in:
Benoit Marty
2023-11-15 10:16:37 +01:00
committed by Benoit Marty
parent 3d2d0bff6a
commit 79eb5edc92
2 changed files with 8 additions and 1 deletions

View File

@@ -66,5 +66,11 @@ enum class FeatureFlags(
title = "Chat backup",
description = "Allow access to backup and restore chat history settings",
defaultValue = false,
)
),
ReadReceipts(
key = "feature.readreceipts",
title = "Show read receipts",
description = null,
defaultValue = false,
),
}

View File

@@ -41,6 +41,7 @@ class StaticFeatureFlagProvider @Inject constructor() :
FeatureFlags.PinUnlock -> true
FeatureFlags.Mentions -> false
FeatureFlags.SecureStorage -> false
FeatureFlags.ReadReceipts -> false
}
} else {
false