fixed bug

This commit is contained in:
AmirHossein Mahmoodi
2025-05-10 10:32:33 +03:30
parent 6f8659083c
commit 2ce1b136a8

View File

@@ -81,7 +81,7 @@ export class SocketGateway implements OnGatewayConnection {
const clients: Socket[] = [];
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);
}
}