mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
Merge pull request #1523 from ether/store-sessions-in-db
Store sessions in db
This commit is contained in:
commit
18b6cf1534
8 changed files with 111 additions and 16 deletions
|
@ -928,6 +928,8 @@ function handleClientReady(client, message)
|
|||
//If this is a reconnect, we don't have to send the client the ClientVars again
|
||||
if(message.reconnect == true)
|
||||
{
|
||||
//Join the pad and start receiving updates
|
||||
client.join(padIds.padId);
|
||||
//Save the revision in sessioninfos, we take the revision from the info the client send to us
|
||||
sessioninfos[client.id].rev = message.client_rev;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue