Merge pull request #1470 from matrix-org/dbkr/features_disabled_by_default
Make features disabled by default
This commit is contained in:
commit
f5f0c7e715
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ export default {
|
||||||
isFeatureEnabled: function(featureId: string): boolean {
|
isFeatureEnabled: function(featureId: string): boolean {
|
||||||
const featuresConfig = SdkConfig.get()['features'];
|
const featuresConfig = SdkConfig.get()['features'];
|
||||||
|
|
||||||
let sdkConfigValue = 'labs';
|
let sdkConfigValue = 'disable';
|
||||||
if (featuresConfig && featuresConfig[featureId] !== undefined) {
|
if (featuresConfig && featuresConfig[featureId] !== undefined) {
|
||||||
sdkConfigValue = featuresConfig[featureId];
|
sdkConfigValue = featuresConfig[featureId];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue