mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Fixes 2 API Problems
This commit is contained in:
parent
ac1858f8ec
commit
41f0feab91
1 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@ function handleSuggestUserName(client, message)
|
||||||
{
|
{
|
||||||
if(sessioninfos[pad2sessions[padId][i]].author == message.data.payload.unnamedId)
|
if(sessioninfos[pad2sessions[padId][i]].author == message.data.payload.unnamedId)
|
||||||
{
|
{
|
||||||
socketio.clients[pad2sessions[padId][i]].send(message);
|
socketio.sockets.sockets[pad2sessions[padId][i]].send(message);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -416,7 +416,7 @@ function handleUserChanges(client, message)
|
||||||
apool: forWire.pool,
|
apool: forWire.pool,
|
||||||
author: author}};
|
author: author}};
|
||||||
|
|
||||||
socketio.clients[session].json.send(wireMsg);
|
socketio.sockets.sockets[session].json.send(wireMsg);
|
||||||
}
|
}
|
||||||
|
|
||||||
callback(null);
|
callback(null);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue