Fix workadventure_nb_clients_per_room in pusher
This commit is contained in:
parent
f98b107bb7
commit
d7b0cb83de
@ -172,6 +172,7 @@ export class SocketManager implements ZoneEventListener {
|
|||||||
console.log('Calling joinRoom')
|
console.log('Calling joinRoom')
|
||||||
const apiClient = await apiClientRepository.getClient(client.roomId);
|
const apiClient = await apiClientRepository.getClient(client.roomId);
|
||||||
const streamToPusher = apiClient.joinRoom();
|
const streamToPusher = apiClient.joinRoom();
|
||||||
|
clientEventsEmitter.emitClientJoin(client.userUuid, client.roomId);
|
||||||
|
|
||||||
client.backConnection = streamToPusher;
|
client.backConnection = streamToPusher;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user