From 2ce1b136a8b9b9c9fe02c41b984245a8b3c00270 Mon Sep 17 00:00:00 2001 From: AmirHossein Mahmoodi Date: Sat, 10 May 2025 10:32:33 +0330 Subject: [PATCH] fixed bug --- src/socket/socket.gateway.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket/socket.gateway.ts b/src/socket/socket.gateway.ts index 2639cb5..8bca864 100644 --- a/src/socket/socket.gateway.ts +++ b/src/socket/socket.gateway.ts @@ -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); } }