mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-30 05:22:42 +00:00
make rooms encrypted
This commit is contained in:
1 parent
299a1ade4e
commit
76dda771f6
3 files changed
+14
-5
No files matched your search
@@ -259,6 +259,15 @@ export async function createRoom(
|
||||
[client.getUserId()!]: 100,
|
||||
},
|
||||
},
|
||||
initial_state: [
|
||||
{
|
||||
type: "m.room.encryption",
|
||||
state_key: "",
|
||||
content: {
|
||||
algorithm: "m.megolm.v1.aes-sha2",
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
// Wait for the room to arrive
|
||||
|
||||
Reference in new issue
Block a user