Merge pull request #4547 from matrix-org/travis/fix-user-panel
Don't try to reload profile information when closing the user panel
This commit is contained in:
@@ -112,7 +112,10 @@ export default class SecurityUserSettingsTab extends React.Component {
|
||||
};
|
||||
|
||||
_onGoToUserProfileClick = () => {
|
||||
window.location.href = "#/user/" + MatrixClientPeg.get().getUserId();
|
||||
dis.dispatch({
|
||||
action: 'view_user_info',
|
||||
userId: MatrixClientPeg.get().getUserId(),
|
||||
});
|
||||
this.props.closeSettingsFn();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user