do not send globalPadId in clientvars - its not used anywhere
parent
ca6f877db2
commit
aadcfbb3d1
|
@ -1076,7 +1076,6 @@ function handleClientReady(client, message)
|
||||||
"historicalAuthorData": historicalAuthorData,
|
"historicalAuthorData": historicalAuthorData,
|
||||||
"apool": apool,
|
"apool": apool,
|
||||||
"rev": pad.getHeadRevisionNumber(),
|
"rev": pad.getHeadRevisionNumber(),
|
||||||
"globalPadId": message.padId,
|
|
||||||
"time": currentTime,
|
"time": currentTime,
|
||||||
},
|
},
|
||||||
"colorPalette": authorManager.getColorPalette(),
|
"colorPalette": authorManager.getColorPalette(),
|
||||||
|
@ -1093,7 +1092,6 @@ function handleClientReady(client, message)
|
||||||
"readOnlyId": padIds.readOnlyPadId,
|
"readOnlyId": padIds.readOnlyPadId,
|
||||||
"readonly": padIds.readonly,
|
"readonly": padIds.readonly,
|
||||||
"serverTimestamp": new Date().getTime(),
|
"serverTimestamp": new Date().getTime(),
|
||||||
"globalPadId": message.padId,
|
|
||||||
"userId": author,
|
"userId": author,
|
||||||
"abiwordAvailable": settings.abiwordAvailable(),
|
"abiwordAvailable": settings.abiwordAvailable(),
|
||||||
"plugins": {
|
"plugins": {
|
||||||
|
|
|
@ -40,7 +40,6 @@ function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad)
|
||||||
|
|
||||||
var rev = serverVars.rev;
|
var rev = serverVars.rev;
|
||||||
var padId = serverVars.padId;
|
var padId = serverVars.padId;
|
||||||
var globalPadId = serverVars.globalPadId;
|
|
||||||
|
|
||||||
var state = "IDLE";
|
var state = "IDLE";
|
||||||
var stateMessage;
|
var stateMessage;
|
||||||
|
|
Loading…
Reference in New Issue