mirror of https://github.com/vector-im/riot-web
make MemberTiles actually update in realtime\n\nFixes https://github.com/vector-im/vector-web/issues/730 and all its dups
parent
bb918f198b
commit
8f967d6e23
|
@ -93,7 +93,6 @@ module.exports = React.createClass({
|
||||||
return (
|
return (
|
||||||
<EntityTile {...this.props} presenceActiveAgo={active} presenceState={presenceState}
|
<EntityTile {...this.props} presenceActiveAgo={active} presenceState={presenceState}
|
||||||
avatarJsx={av} title={this.getPowerLabel()} onClick={this.onClick}
|
avatarJsx={av} title={this.getPowerLabel()} onClick={this.onClick}
|
||||||
shouldComponentUpdate={this.shouldComponentUpdate.bind(this)}
|
|
||||||
name={name} powerLevel={this.props.member.powerLevel} />
|
name={name} powerLevel={this.props.member.powerLevel} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue