Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12000

Re: How to Fetch MUC room occupants list Inside Openfire Plugin?

$
0
0

Hello

 

I just found the way to get occupants. You need to have "roomname" and "jid" to get the occupants list

 

MultiUserChatService muChatService = XMPPServer.getInstance().getMultiUserChatManager().getMultiUserChatServices().g et(0);

       

Collection<MUCRole> occupants =  muChatService.getChatRoom("roomnamehere", jid).getOccupants();


Viewing all articles
Browse latest Browse all 12000

Trending Articles