reskindex and use sdk.getComponent for EmojiText
This commit is contained in:
parent
1b414cad18
commit
4c1dcb924b
10 changed files with 13 additions and 9 deletions
|
@ -23,7 +23,6 @@ var linkify = require('linkifyjs');
|
|||
var linkifyElement = require('linkifyjs/element');
|
||||
var linkifyMatrix = require('../../../linkify-matrix');
|
||||
var sdk = require('../../../index');
|
||||
import EmojiText from '../../views/elements/EmojiText';
|
||||
|
||||
linkifyMatrix(linkify);
|
||||
|
||||
|
@ -178,6 +177,7 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
render: function() {
|
||||
const EmojiText = sdk.getComponent('elements.EmojiText');
|
||||
var mxEvent = this.props.mxEvent;
|
||||
var content = mxEvent.getContent();
|
||||
var body = HtmlUtils.bodyToHtml(content, this.props.highlights, {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue