MUCRoom creation

Hello,

I’‘ve been through the javadocs and the plugin examples but couldn’'t find the answer : how a MUCRoom can be created ?

Thanks, Guillaume

Hi Guillaume,

Take a look at the getChatRoom method in the MultiUserChatServer javadoc’'s. Basically, you could do something like:

MUCRoom myRoom = XMPPServer.getInstance().getMultiUserChatServer().getChatRoom("my room", new JID("gdenis@example.com"));

Hope that helps,

Ryan

Thank you Ryan.