Wire up Start Chat button.

This commit is contained in:
Kegan Dougal 2015-07-20 13:22:56 +01:00
parent 08c16e0d7a
commit 0baa2141fc
2 changed files with 51 additions and 1 deletions

View file

@ -69,7 +69,7 @@ module.exports = React.createClass({
<div className="mx_MemberInfo_field">{this.props.member.userId}</div>
<div className="mx_MemberInfo_field">Presence: {this.state.presence}</div>
<div className="mx_MemberInfo_field">Last active: {activeAgo}</div>
<div className="mx_MemberInfo_button">Start chat</div>
<div className="mx_MemberInfo_button" onClick={this.onChatClick}>Start chat</div>
</div>
);
}