Expose onHighlightClick on the event tiles
This commit is contained in:
parent
103b0a03b1
commit
b0adb1945f
3 changed files with 32 additions and 3 deletions
|
@ -49,7 +49,8 @@ module.exports = React.createClass({
|
|||
render: function() {
|
||||
var mxEvent = this.props.mxEvent;
|
||||
var content = mxEvent.getContent();
|
||||
var body = HtmlUtils.bodyToHtml(content, this.props.highlights);
|
||||
var body = HtmlUtils.bodyToHtml(content, this.props.highlights,
|
||||
{onHighlightClick: this.props.onHighlightClick});
|
||||
|
||||
switch (content.msgtype) {
|
||||
case "m.emote":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue