You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Fix RoomSettings
Don't enable encryption unless the box is checked!
This commit is contained in:
committed by
GitHub
parent
e018eef9fa
commit
3ea746db1d
@ -260,7 +260,7 @@ module.exports = React.createClass({
|
||||
if (!this.refs.encrypt) { return q(); }
|
||||
|
||||
var encrypt = this.refs.encrypt.checked;
|
||||
if (encrypt) { return q(); }
|
||||
if (!encrypt) { return q(); }
|
||||
|
||||
var roomId = this.props.room.roomId;
|
||||
return MatrixClientPeg.get().sendStateEvent(
|
||||
|
Reference in New Issue
Block a user