Read receipts: feature flag
This commit is contained in:
parent
3d2d0bff6a
commit
79eb5edc92
2 changed files with 8 additions and 1 deletions
|
|
@ -66,5 +66,11 @@ enum class FeatureFlags(
|
||||||
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 = false,
|
||||||
)
|
),
|
||||||
|
ReadReceipts(
|
||||||
|
key = "feature.readreceipts",
|
||||||
|
title = "Show read receipts",
|
||||||
|
description = null,
|
||||||
|
defaultValue = false,
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@ class StaticFeatureFlagProvider @Inject constructor() :
|
||||||
FeatureFlags.PinUnlock -> true
|
FeatureFlags.PinUnlock -> true
|
||||||
FeatureFlags.Mentions -> false
|
FeatureFlags.Mentions -> false
|
||||||
FeatureFlags.SecureStorage -> false
|
FeatureFlags.SecureStorage -> false
|
||||||
|
FeatureFlags.ReadReceipts -> false
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue