Add feature flag for voice messages (#1507)

This commit is contained in:
jonnyandrew 2023-10-06 13:53:47 +01:00 committed by GitHub
parent daf46d77e8
commit 9e73d6ddc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -43,4 +43,10 @@ enum class FeatureFlags(
title = "Show notification settings",
defaultValue = true,
),
VoiceMessages(
key = "feature.voicemessages",
title = "Voice messages",
description = "Send and receive voice messages",
defaultValue = false,
),
}

View file

@ -35,6 +35,7 @@ class StaticFeatureFlagProvider @Inject constructor() :
FeatureFlags.LocationSharing -> true
FeatureFlags.Polls -> true
FeatureFlags.NotificationSettings -> true
FeatureFlags.VoiceMessages -> false
}
} else {
false