diff --git a/src/messaging.js b/src/messaging.js index ab22b3c773..02ca02683e 100644 --- a/src/messaging.js +++ b/src/messaging.js @@ -82,9 +82,6 @@ function canGet(hook, callerUid, uid, callback) { } Messaging.parse = function (message, fromuid, uid, roomId, isNew, callback) { - message = utils.decodeHTMLEntities(utils.stripHTMLTags(message)); - message = validator.escape(String(message)); - plugins.fireHook('filter:parse.raw', message, function (err, parsed) { if (err) { return callback(err);