From 4b913172fe72457a2c7598197907188aef186364 Mon Sep 17 00:00:00 2001 From: muxator Date: Tue, 26 Feb 2019 22:19:49 +0100 Subject: [PATCH] PadMessageHandler.js: renamed parameter in handleCustomMessage() to avoid name clash --- src/node/handler/PadMessageHandler.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/node/handler/PadMessageHandler.js b/src/node/handler/PadMessageHandler.js index fc5df9825..1455660c1 100644 --- a/src/node/handler/PadMessageHandler.js +++ b/src/node/handler/PadMessageHandler.js @@ -352,14 +352,14 @@ exports.handleCustomObjectMessage = function (msg, sessionID, cb) { * Handles a custom message (sent via HTTP API request) * * @param padID {Pad} the pad to which we're sending this message - * @param msg {String} the message we're sending + * @param msgString {String} the message we're sending */ -exports.handleCustomMessage = function (padID, msg, cb) { +exports.handleCustomMessage = function (padID, msgString, cb) { var time = new Date().getTime(); var msg = { type: 'COLLABROOM', data: { - type: msg, + type: msgString, time: time } };