pass onWidgetLoad (which is required for SOME EventTileTypes)

XXX: they should follow an interface, this is somewhat nasty

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-01-28 22:12:34 +00:00
parent ebfdd7c718
commit 56927b23e6
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E

View file

@ -602,6 +602,7 @@ module.exports = withMatrixClient(React.createClass({
mxEvent={this.props.mxEvent} mxEvent={this.props.mxEvent}
highlights={this.props.highlights} highlights={this.props.highlights}
highlightLink={this.props.highlightLink} highlightLink={this.props.highlightLink}
onWidgetLoad={this.props.onWidgetLoad}
showUrlPreview={false} /> showUrlPreview={false} />
</div> </div>
</div> </div>