Merge pull request #1587 from matrix-org/luke/groups-add-rooms-with-visibility

Add checkbox to GroupAddressPicker for determining visibility of group rooms
This commit is contained in:
Luke Barnard 2017-11-08 10:04:41 +00:00 committed by GitHub
commit 4c47f75918
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 11 deletions

View file

@ -591,7 +591,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});