Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit ef3df3e

Browse files
committed
comment
1 parent 20f9d71 commit ef3df3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/UserSettingsStore.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ export default {
204204
return false;
205205
} else if (sdkConfigValue === 'labs') {
206206
if (!MatrixClientPeg.get().isGuest()) {
207+
// Make it explicit that guests get the defaults (although they shouldn't
208+
// have been able to ever toggle the flags anyway)
207209
const userValue = localStorage.getItem(`mx_labs_feature_${featureId}`);
208210
if (userValue !== null) {
209211
return userValue === 'true';

0 commit comments

Comments
 (0)