Let the tile contents specify whether it requires a sender profile or not. Fixes #250.
This commit is contained in:
parent
08270b26ee
commit
7c6fb36520
3 changed files with 15 additions and 7 deletions
|
@ -114,7 +114,9 @@ module.exports = React.createClass({
|
|||
</div>
|
||||
);
|
||||
}
|
||||
sender = <SenderProfile mxEvent={this.props.mxEvent} aux={aux} />;
|
||||
if (EventTileType.needsSenderProfile()) {
|
||||
sender = <SenderProfile mxEvent={this.props.mxEvent} aux={aux} />;
|
||||
}
|
||||
}
|
||||
return (
|
||||
<div className={classes}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue