1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00
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",