Skip to content

Commit 9e73d6d

Browse files
authored
Add feature flag for voice messages (#1507)
1 parent daf46d7 commit 9e73d6d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,10 @@ enum class FeatureFlags(
4343
title = "Show notification settings",
4444
defaultValue = true,
4545
),
46+
VoiceMessages(
47+
key = "feature.voicemessages",
48+
title = "Voice messages",
49+
description = "Send and receive voice messages",
50+
defaultValue = false,
51+
),
4652
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class StaticFeatureFlagProvider @Inject constructor() :
3535
FeatureFlags.LocationSharing -> true
3636
FeatureFlags.Polls -> true
3737
FeatureFlags.NotificationSettings -> true
38+
FeatureFlags.VoiceMessages -> false
3839
}
3940
} else {
4041
false

0 commit comments

Comments
 (0)