From 49c4a23e044e4b8161ca4ec81b5232d7299a7dbc Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 24 Jan 2018 13:44:48 -0500 Subject: [PATCH] closes #6277 --- src/messaging.js | 3 --- 1 file changed, 3 deletions(-) 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);