You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Make features disabled by default
So we can then put them in labs on /develop & others can enable them as desired.
This commit is contained in:
@@ -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];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user