powered by Jive Software

muc.getOccupants() deficient values

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:

  • *

  • *

  • *

*** ***

  • *

  • *

*** ***

  • *

  • *

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

Many thanks!

I think you want to use getOccupantPresence() with the from values returned by getOccupants().

Yes, you are right!! You answewed my question before I could write my solution. And my working solution is same.

Glad I could help