I am creating a room, then joining it immediately. Sometimes when a user enters the room, a JOIN_ROOM event is fired, other times it is not. It is never fired by the creator of the room entering the room.
I need to respond to users entering the room to initialize data. The room in question is dynamically generated, and the user is automatically joined to it. I am guessing that for some reason the JoinRoom event is not firing for a specific reason in this scenario.
Any thoughts?
JoinRoom Event Not fired
Re: JoinRoom Event Not fired
ROOM_JOIN is fired exclusively to the user that has joined the Room.Sometimes when a user enters the room, a JOIN_ROOM event is fired, other times it is not. It is never fired by the creator of the room entering the room.
All other clients in that Room will receive a USER_ENTER_ROOM.
The event is always fired, there are no exception unless a join error is raised. In that case you should see the details in the server logs and you should make sure to also listen to the ROOM_JOIN_ERROR to trap them on the client side.I need to respond to users entering the room to initialize data. The room in question is dynamically generated, and the user is automatically joined to it. I am guessing that for some reason the JoinRoom event is not firing for a specific reason in this scenario.