From be0ce09af01a29548a2498a648a2ce67a1452d21 Mon Sep 17 00:00:00 2001 From: Tainan Felipe <tainanfelipe214@gmail.com> Date: Mon, 23 Apr 2018 09:30:14 -0300 Subject: [PATCH] pass message for allowed functions --- bigbluebutton-html5/imports/api/common/server/helpers.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bigbluebutton-html5/imports/api/common/server/helpers.js b/bigbluebutton-html5/imports/api/common/server/helpers.js index ebb86a37f3..52fc995589 100755 --- a/bigbluebutton-html5/imports/api/common/server/helpers.js +++ b/bigbluebutton-html5/imports/api/common/server/helpers.js @@ -17,11 +17,9 @@ export const processForHTML5ServerOnly = fn => (message, ...args) => { const { envelope } = message; const { routing } = envelope; - const shouldSkip = routing.msgType === MSG_DIRECT_TYPE && routing.userId !== NODE_USER; if (shouldSkip) return () => { }; - - return fn(...args); + return fn(message, ...args); }; -- GitLab