diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js index b061661966..b3fb23ff88 100644 --- a/src/components/structures/RoomDirectory.js +++ b/src/components/structures/RoomDirectory.js @@ -25,8 +25,9 @@ var sdk = require('matrix-react-sdk') var dis = require('matrix-react-sdk/lib/dispatcher'); var linkify = require('linkifyjs'); -var linkifyElement = require('linkifyjs/element'); +var linkifyString = require('linkifyjs/string'); var linkifyMatrix = require('matrix-react-sdk/lib/linkify-matrix'); +var sanitizeHtml = require('sanitize-html'); linkifyMatrix(linkify); @@ -61,8 +62,6 @@ module.exports = React.createClass({ self.forceUpdate(); } }); - - //linkifyElement(this.refs.directory_table, linkifyMatrix.options); }, showRoom: function(roomId) { @@ -108,6 +107,9 @@ module.exports = React.createClass({ perms =