diff --git a/src/components/views/dialogs/CreateRoomDialog.js b/src/components/views/dialogs/CreateRoomDialog.js index 88e90627e8..f18e28b85e 100644 --- a/src/components/views/dialogs/CreateRoomDialog.js +++ b/src/components/views/dialogs/CreateRoomDialog.js @@ -66,7 +66,7 @@ export default createReactClass({ } if (!this.state.isPublic && SettingsStore.isFeatureEnabled("feature_cross_signing")) { - createOpts.encryption = this.state.isEncrypted; + opts.encryption = this.state.isEncrypted; } return opts;