Fix workadventure_nb_clients_per_room in pusher

This commit is contained in:
PizZaKatZe 2021-02-09 23:21:11 +01:00
parent f98b107bb7
commit d7b0cb83de
1 changed files with 1 additions and 0 deletions

View File

@ -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;