implement currently_active

This commit is contained in:
Matthew Hodgson 2016-03-16 22:44:54 +00:00
parent 58d46825ce
commit 500b88dc36
4 changed files with 5 additions and 1 deletions

View file

@ -91,6 +91,7 @@ module.exports = React.createClass({
return (
<EntityTile {...this.props} presenceActiveAgo={active} presenceState={presenceState}
presenceCurrentlyActive={ member.user ? member.user.currentlyActive : false }
avatarJsx={av} title={this.getPowerLabel()} onClick={this.onClick}
shouldComponentUpdate={this.shouldComponentUpdate.bind(this)}
name={name} powerLevel={this.props.member.powerLevel} />