Merge pull request #1470 from matrix-org/dbkr/features_disabled_by_default

Make features disabled by default
This commit is contained in:
David Baker 2017-10-13 11:20:21 +01:00 committed by GitHub
commit f5f0c7e715

View file

@ -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];
} }