List users currently in a room

Hey all,

I’m hoping that someone can provide some input on how to get a list of all users who are currently in a room if the user requesting it is already in that room.

I’m using the xiff3 beta.

Thanks,

Phil

Room is a subclass of ArrayCollection, so you should be able to use its methods to get the occupants.

The RoomJoin or UserJoin event should provide you with the information after you have entered the room.

Example code available in: http://paazio.nanbudo.fi/tutorials/flash/xiff-chat-part-3-chat-room