powered by Jive Software

Room occupants statuses

Hello everyone.

When I join a room I want to get a list of it’s users with their statuses.

I am sending such packets:

<iq from='hag66@shakespeare.lit/pda'
  <query xmlns='http://jabber.org/protocol/disco#items'/>

But I receive only list of jids. How can I get also the statuses or how can I figure out the status of on certain room occupant?

Thanks in advance