mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 06:51:21 +02:00
Make the 'encrypt this room' knob be megolm
This commit is contained in:
parent
fdfd6ecfd9
commit
bc8e7724e8
@ -249,7 +249,7 @@ module.exports = React.createClass({
|
|||||||
var roomId = this.props.room.roomId;
|
var roomId = this.props.room.roomId;
|
||||||
return MatrixClientPeg.get().sendStateEvent(
|
return MatrixClientPeg.get().sendStateEvent(
|
||||||
roomId, "m.room.encryption",
|
roomId, "m.room.encryption",
|
||||||
{ algorithm: "m.olm.v1.curve25519-aes-sha2" }
|
{ algorithm: "m.megolm.v1.aes-sha2" }
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user