Merge pull request #720 from h42i/fix/metrics

Fix workadventure_nb_clients_per_room in pusher
This commit is contained in:
David Négrier
2021-02-11 17:18:50 +01:00
committed by GitHub
+1
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;