Remove leftover code from earlier commits

This commit is contained in:
anugu-chegg 2018-04-20 01:36:30 +05:30 committed by muxator
parent b4068144c3
commit 7b6a4aba30
2 changed files with 1 additions and 3 deletions

View file

@ -1243,7 +1243,7 @@ function handleClientReady(client, message)
var Msg = {"type":"COLLABROOM", var Msg = {"type":"COLLABROOM",
"data":{type:"CLIENT_RECONNECT", "data":{type:"CLIENT_RECONNECT",
noChanges: true, noChanges: true,
newRev:pad.getHeadRevisionNumber() newRev: pad.getHeadRevisionNumber()
}}; }};
client.json.send(Msg); client.json.send(Msg);
} }

View file

@ -201,8 +201,6 @@ function handshake()
}); });
socket.once('connect', function () { socket.once('connect', function () {
// Setup our own connected flag since socketio one doesn't work accurately
socket.realConnected = true;
sendClientReady(false); sendClientReady(false);
}); });