s/m.room.join_rule/m.room.join_rules/

This commit is contained in:
Matthew Hodgson 2016-03-20 12:47:38 +00:00
parent bbd57f2bdf
commit 18fc8fc6c4

View file

@ -441,7 +441,7 @@ module.exports = React.createClass({
Mute notifications for this room
</label>
<label>
<input type="checkbox" disabled={ !roomState.mayClientSendStateEvent("m.room.join_rule", cli) }
<input type="checkbox" disabled={ !roomState.mayClientSendStateEvent("m.room.join_rules", cli) }
onChange={this._onToggle.bind(this, "join_rule", "invite", "public")}
defaultChecked={this.state.join_rule !== "public"}/>
Make this room private