diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index ef0cc33fdc..d6b074ef47 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -1573,12 +1573,9 @@ export default React.createClass({ this._chatCreateOrReuse(userId); return; } - - // get profile info here somehow - - this.notifyNewScreen('user/' + userId); - this.setState({currentUserId: userId}); - this._setPage(PageTypes.UserView); + this.notifyNewScreen('user/' + userId); + this.setState({currentUserId: userId}); + this._setPage(PageTypes.UserView); }); } else if (screen.indexOf('group/') == 0) { const groupId = screen.substring(6); diff --git a/src/components/views/rooms/MemberInfo.js b/src/components/views/rooms/MemberInfo.js index b4af5398f6..d7726c8fe8 100644 --- a/src/components/views/rooms/MemberInfo.js +++ b/src/components/views/rooms/MemberInfo.js @@ -983,9 +983,9 @@ module.exports = withMatrixClient(React.createClass({ let backButton; if (this.props.member.roomId) { backButton = (); + onClick={this.onCancel} + title={_t('Close')} + />); } return (