This commit is contained in:
David Baker 2017-08-30 17:34:44 +01:00
parent 824b29dc1f
commit cf747fcb57

View File

@ -74,7 +74,9 @@ module.exports = withMatrixClient(React.createClass({
if (!proceed) return; if (!proceed) return;
this.setState({removingUser: true}); this.setState({removingUser: true});
this.props.matrixClient.removeUserFromGroup(this.props.groupId, this.props.groupMember.userId).then(() => { this.props.matrixClient.removeUserFromGroup(
this.props.groupId, this.props.groupMember.userId,
).then(() => {
// return to the user list // return to the user list
dis.dispatch({ dis.dispatch({
action: "view_user", action: "view_user",