diff --git a/src/components/rooms.js b/src/components/rooms.js
index e872374..65cf338 100644
--- a/src/components/rooms.js
+++ b/src/components/rooms.js
@@ -116,6 +116,7 @@ export const RoomCreate = props => (
placeholder="#"
/>
+
0
? data.invitees
: undefined,
+ initial_state: data.encrypt ? [{
+ type: 'm.room.encryption',
+ state_key: '',
+ content: {
+ algorithm: 'm.megolm.v1.aes-sha2',
+ }
+ }] : undefined,
+ ,
},
method: "POST",
})