Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

muc.getOccupants() deficient values

$
0
0

Hi!

 

I want to get a list of my chatroom's users, mainly I'm curious about the real username called JID. But muc.getOccupants() gives me an iterator, which contains only nicknames, but i need the full usernames. In bebugg mode I can see it in the XMPP server's respond:

 

<iq id='Oozmk-3' type='result' to='jirobot@myserver/Smack' from='conference.myserver'>

  <query xmlns='http://jabber.org/protocol/disco#items'>

  <item jid='myroom@conference.myserver' name='myroom'/>

  </query>

</iq>

<presence to='jirobot@myserver/Smack' from='myroom@conference.myserver/BZsolt'>

  <x xmlns='vcard-temp:x:update'>

  <photo/>

  </x>

  <tubes xmlns='http://telepathy.freedesktop.org/xmpp/tubes'/>

  <x xmlns='http://jabber.org/protocol/muc#user'>

  <item jid='zsolt.bakonyi@myserver/kde-telepathy-499792' affiliation='owner' role='moderator'/>

  </x>

</presence>

<presence id='Oozmk-5' to='jirobot@myserver/Smack' from='myroom@conference.myserver/MikkaMakka'>

  <x xmlns='http://jabber.org/protocol/muc#user'>

  <item jid='jirobot@myserver/Smack' affiliation='owner' role='moderator'/>

  <status code='110'/>

  </x>

</presence>

 

So I need item jid, not only from. is it possible somehow? If not, can we create an issue to develop it?

 

Many thanks!


Viewing all articles
Browse latest Browse all 10742

Trending Articles