1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-27 04:21:52 +03:00

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
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});