mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 15:42:52 +01:00
closes #6277
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user