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
turn on E2E and Scalar by default
This commit is contained in:
@@ -142,7 +142,10 @@ module.exports = {
|
||||
return MatrixClientPeg.get().setAccountData("im.vector.web.settings", settings);
|
||||
},
|
||||
|
||||
isFeatureEnabled: function(feature: string): boolean {
|
||||
isFeatureEnabled: function(feature: string): ?boolean {
|
||||
if (localStorage.getItem(`mx_labs_feature_${feature}`) === null) {
|
||||
return null;
|
||||
}
|
||||
return localStorage.getItem(`mx_labs_feature_${feature}`) === 'true';
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user