mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +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)
|
||||
*
|
||||
* @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
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue