diff --git a/src/controllers/molecules/MEmoteTile.js b/src/controllers/molecules/MEmoteTile.js index 8aa688b21e..1fb117ceef 100644 --- a/src/controllers/molecules/MEmoteTile.js +++ b/src/controllers/molecules/MEmoteTile.js @@ -16,6 +16,15 @@ limitations under the License. 'use strict'; +var linkify = require('linkifyjs'); +var linkifyElement = require('linkifyjs/element'); +var linkifyMatrix = require('../../linkify-matrix'); + +linkifyMatrix(linkify); + module.exports = { + componentDidMount: function() { + linkifyElement(this.refs.content.getDOMNode(), linkifyMatrix.options); + } };