This commit is contained in:
Hri7566 2023-04-01 01:35:55 -04:00
parent a0de8c2e02
commit 9a745ddbc5
1 changed files with 3 additions and 2 deletions

View File

@ -292,12 +292,13 @@ class Client extends EventEmitter {
let users = [];
let clients = [];
this.server.connections.forEach(cl => {
if (!cl.user) return;
let c = {
ip: cl.ip,
participantId: cl.participantId
participantId: cl.participantId,
userId: cl.user._id
};
clients.push(c);
if (!cl.user) return;
let u = {
p: {
_id: cl.user._id,