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'
    id='disco4'
    to='darkcave@chat.shakespeare.lit'
    type='get'>
  <query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>

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