Skip to content

Commit 47ec3fd

Browse files
committed
feat: Enable encrypted state events by default.
1 parent d053a20 commit 47ec3fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/MatrixClientPeg.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,9 @@ class MatrixClientPegClass implements IMatrixClientPeg {
437437
// These are always installed regardless of the labs flag so that cross-signing features
438438
// can toggle on without reloading and also be accessed immediately after login.
439439
cryptoCallbacks: { ...crossSigningCallbacks },
440-
enableEncryptedStateEvents: SettingsStore.getValue("feature_msc3414_encrypted_state_events"),
440+
// We need the ability to encrypt/decrypt state events even if the lab is off, since rooms
441+
// with state event encryption still need to function properly.
442+
enableEncryptedStateEvents: true,
441443
roomNameGenerator: (_: string, state: RoomNameState) => {
442444
switch (state.type) {
443445
case RoomNameType.Generated:

0 commit comments

Comments
 (0)