fixed bug
This commit is contained in:
@@ -81,7 +81,7 @@ export class SocketGateway implements OnGatewayConnection {
|
|||||||
const clients: Socket[] = [];
|
const clients: Socket[] = [];
|
||||||
|
|
||||||
for (const client of socketsMap.values()) {
|
for (const client of socketsMap.values()) {
|
||||||
if (clientsId.includes(client.handshake.auth.token)) {
|
if (clientsId.includes(client.handshake.auth.token.telephone_id)) {
|
||||||
clients.push(client);
|
clients.push(client);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user