fix indentation
This commit is contained in:
parent
ef704085f9
commit
d9b8b0f988
2 changed files with 6 additions and 9 deletions
|
@ -1573,12 +1573,9 @@ export default React.createClass({
|
||||||
this._chatCreateOrReuse(userId);
|
this._chatCreateOrReuse(userId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.notifyNewScreen('user/' + userId);
|
||||||
// get profile info here somehow
|
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) {
|
} else if (screen.indexOf('group/') == 0) {
|
||||||
const groupId = screen.substring(6);
|
const groupId = screen.substring(6);
|
||||||
|
|
|
@ -983,9 +983,9 @@ module.exports = withMatrixClient(React.createClass({
|
||||||
let backButton;
|
let backButton;
|
||||||
if (this.props.member.roomId) {
|
if (this.props.member.roomId) {
|
||||||
backButton = (<AccessibleButton className="mx_MemberInfo_cancel"
|
backButton = (<AccessibleButton className="mx_MemberInfo_cancel"
|
||||||
onClick={this.onCancel}
|
onClick={this.onCancel}
|
||||||
title={_t('Close')}
|
title={_t('Close')}
|
||||||
/>);
|
/>);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue