v1.18.x
Julian Lam 7 years ago
parent b14e531cee
commit 49c4a23e04

@ -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);

Loading…
Cancel
Save