diff --git a/Source/Client.js b/Source/Client.js index 15df447..9b3fe76 100644 --- a/Source/Client.js +++ b/Source/Client.js @@ -133,9 +133,9 @@ Client.prototype.getSucureClients = function() let pairs = new Map(); let roompairs = new Map(); - for (const [id, client] of this.pairs) + for (const id of this.pairs) { - pairs.set(id, client) + pairs.set(id, Client.clients.get(id)) } // Aynı odada bulunan kullanıcı