mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
fix error user name's
git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/nodeJSProjects@51144 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
@ -525,7 +525,7 @@ exports.install = function (server, callbackFunction) {
|
||||
conn.sessionId = conn.id;
|
||||
}
|
||||
connections.push({connection:conn});
|
||||
var participants = getParticipants(data.docid, data.user);
|
||||
var participants = getParticipants(conn.docId, conn.userId);
|
||||
|
||||
sendData(conn,
|
||||
{
|
||||
@ -535,7 +535,7 @@ exports.install = function (server, callbackFunction) {
|
||||
participants:_.map(participants, function (conn) {
|
||||
return {id: conn.connection.userId, username: conn.connection.userName};
|
||||
}),
|
||||
messages:messages[data.docid],
|
||||
messages:messages[conn.docid],
|
||||
locks:locks[conn.docId],
|
||||
changes:objchanges[conn.docId],
|
||||
indexuser:indexuser[conn.docId]
|
||||
|
||||
Reference in New Issue
Block a user