onuserjoinedroom called two times

0 votes
hi. I have this scenario:

user A joins lobby and creates room and waits for other user.

user B joins lobby and then joins room which was created by A.

when A joins room,onuserjoinedroom is called once and everything is fine, but when B joins room, onuserjoinedroom
is called twice for the other user. why is that?

thanks.
asked Mar 16, 2015 in AppWarp by Arash Shahzamani (25 points)

1 Answer

0 votes
Hi Arash,

Whenever a user joins a room, he/she gets an OnJoinRoomDone callback for the joined user and also an OnUserJoinedRoom callback for each subscribed user.These are two different types of callbacks.

 

Thanks

Kanika Mittal

AppWarp Team
answered Mar 17, 2015 by kanika mittal (50 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...