mirror of https://github.com/vector-im/riot-web
Merge pull request #439 from matrix-org/rav/enable_megolm_encryption
Make the 'encrypt this room' knob be megolmpull/21833/head
commit
941dcc7e87
|
@ -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…
Reference in New Issue