From d7b0cb83dea8e17db9b65c30f13d4f4c5f8cfba0 Mon Sep 17 00:00:00 2001 From: PizZaKatZe Date: Tue, 9 Feb 2021 23:21:11 +0100 Subject: [PATCH] Fix workadventure_nb_clients_per_room in pusher --- pusher/src/Services/SocketManager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/pusher/src/Services/SocketManager.ts b/pusher/src/Services/SocketManager.ts index 7bd50b32..713b8c7d 100644 --- a/pusher/src/Services/SocketManager.ts +++ b/pusher/src/Services/SocketManager.ts @@ -172,6 +172,7 @@ export class SocketManager implements ZoneEventListener { console.log('Calling joinRoom') const apiClient = await apiClientRepository.getClient(client.roomId); const streamToPusher = apiClient.joinRoom(); + clientEventsEmitter.emitClientJoin(client.userUuid, client.roomId); client.backConnection = streamToPusher;