mirror of https://github.com/vector-im/riot-web
Merge pull request #1827 from matrix-org/luke/openly_joinable
Update to match is_openly_joinable APIpull/21833/head
commit
666f419dfd
|
@ -549,7 +549,10 @@ export default React.createClass({
|
|||
editing: true,
|
||||
profileForm: Object.assign({}, this.state.summary.profile),
|
||||
joinableForm: {
|
||||
policyType: this.state.summary.profile.join_policy,
|
||||
policyType:
|
||||
this.state.summary.profile.is_openly_joinable ?
|
||||
GROUP_JOINPOLICY_OPEN :
|
||||
GROUP_JOINPOLICY_INVITE,
|
||||
},
|
||||
});
|
||||
dis.dispatch({
|
||||
|
|
Loading…
Reference in New Issue