Add checkbox to GroupAddressPicker for determining visibility of group rooms
This commit is contained in:
parent
80d4873542
commit
edc744067f
5 changed files with 26 additions and 11 deletions
|
@ -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});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue