Add checkbox to GroupAddressPicker for determining visibility of group rooms

This commit is contained in:
Luke Barnard 2017-11-07 18:51:41 +00:00
parent 80d4873542
commit edc744067f
5 changed files with 26 additions and 11 deletions

View file

@ -575,7 +575,7 @@ export default React.createClass({
_onAcceptInviteClick: function() {
this.setState({membershipBusy: true});
MatrixClientPeg.get().acceptGroupInvite(this.props.groupId).then(() => {
this._groupStore.acceptGroupInvite().then(() => {
// don't reset membershipBusy here: wait for the membership change to come down the sync
}).catch((e) => {
this.setState({membershipBusy: false});