diff --git a/src/settings/handlers/DeviceSettingsHandler.js b/src/settings/handlers/DeviceSettingsHandler.js index 13117f7498..b2a225e190 100644 --- a/src/settings/handlers/DeviceSettingsHandler.js +++ b/src/settings/handlers/DeviceSettingsHandler.js @@ -102,7 +102,7 @@ export default class DeviceSettingsHandler extends SettingsHandler { _readFeature(featureName) { if (MatrixClientPeg.get() && MatrixClientPeg.get().isGuest()) { // Guests should not have any labs features enabled. - return {enabled: false}; + return false; } const value = localStorage.getItem("mx_labs_feature_" + featureName);