mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
PadMessageHandler.js: renamed parameter in handleCustomMessage() to avoid name clash
This commit is contained in:
parent
791012bb9b
commit
4b913172fe
1 changed files with 3 additions and 3 deletions
|
@ -352,14 +352,14 @@ exports.handleCustomObjectMessage = function (msg, sessionID, cb) {
|
||||||
* Handles a custom message (sent via HTTP API request)
|
* Handles a custom message (sent via HTTP API request)
|
||||||
*
|
*
|
||||||
* @param padID {Pad} the pad to which we're sending this message
|
* @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 time = new Date().getTime();
|
||||||
var msg = {
|
var msg = {
|
||||||
type: 'COLLABROOM',
|
type: 'COLLABROOM',
|
||||||
data: {
|
data: {
|
||||||
type: msg,
|
type: msgString,
|
||||||
time: time
|
time: time
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue