mirror of https://github.com/vector-im/riot-web
Merge remote-tracking branch 'origin/develop' into develop
commit
d1c7187db0
|
@ -102,7 +102,7 @@ export default class DeviceSettingsHandler extends SettingsHandler {
|
||||||
_readFeature(featureName) {
|
_readFeature(featureName) {
|
||||||
if (MatrixClientPeg.get() && MatrixClientPeg.get().isGuest()) {
|
if (MatrixClientPeg.get() && MatrixClientPeg.get().isGuest()) {
|
||||||
// Guests should not have any labs features enabled.
|
// Guests should not have any labs features enabled.
|
||||||
return {enabled: false};
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const value = localStorage.getItem("mx_labs_feature_" + featureName);
|
const value = localStorage.getItem("mx_labs_feature_" + featureName);
|
||||||
|
|
Loading…
Reference in New Issue