diff --git a/src/UserSettingsStore.js b/src/UserSettingsStore.js index 0e9d58b270..050e28e5b7 100644 --- a/src/UserSettingsStore.js +++ b/src/UserSettingsStore.js @@ -207,9 +207,7 @@ export default { // Make it explicit that guests get the defaults (although they shouldn't // have been able to ever toggle the flags anyway) const userValue = localStorage.getItem(`mx_labs_feature_${featureId}`); - if (userValue !== null) { - return userValue === 'true'; - } + return userValue === 'true'; } return false; } else {