Enable Element Call integration in rooms by default (#1685)

Also change base url to `call.element.dev`.
This commit is contained in:
Jorge Martin Espinosa 2023-10-30 12:33:22 +01:00 committed by GitHub
parent 7651cf1b33
commit e64f822f5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 10 deletions

View file

@ -59,7 +59,7 @@ enum class FeatureFlags(
key = "feature.elementcall",
title = "Element call in rooms",
description = "Allow user to start or join a call in a room",
defaultValue = false,
defaultValue = true,
),
Mentions(
key = "feature.mentions",

View file

@ -37,7 +37,7 @@ class StaticFeatureFlagProvider @Inject constructor() :
FeatureFlags.NotificationSettings -> true
FeatureFlags.VoiceMessages -> true
FeatureFlags.PinUnlock -> false
FeatureFlags.InRoomCalls -> false
FeatureFlags.InRoomCalls -> true
FeatureFlags.Mentions -> false
}
} else {

View file

@ -31,6 +31,6 @@ class FakeFeatureFlagService(
}
override suspend fun isFeatureEnabled(feature: Feature): Boolean {
return enabledFeatures[feature.key] ?: feature.defaultValue
return enabledFeatures[feature.key] ?: false
}
}