Search code examples
asmack

MultiUserChat get chat room user?


I am working on ASmack. Is it workable to get chat room user list using asmack? http://www.igniterealtime.org/builds/smack/docs/latest/documentation/extensions/muc.html This list have not shown. Please give me some idea.


Solution

  • Which list?

    You can only call getOccupants() if you are an occupant of the MUC or, in other words, if have joined the MUC.