create permalink creator in roomview and pass it on to the event tiles

This commit is contained in:
Bruno Windels 2019-02-21 15:44:20 +01:00
parent 8d929add18
commit 29be28919d
6 changed files with 23 additions and 5 deletions

View file

@ -56,6 +56,7 @@ module.exports = React.createClass({
}
if (EventTile.haveTileForEvent(ev)) {
ret.push(<EventTile key={eventId+"+"+j} mxEvent={ev} contextual={contextual} highlights={highlights}
permaLinkCreator={this.props.permaLinkCreator}
highlightLink={this.props.resultLink}
onWidgetLoad={this.props.onWidgetLoad} />);
}