I want to grant membership to a rostergroup from the client code like I can do it from the openfire admin console. I tried with this code:
MultiUserChatManager multiUserChatManager = MultiUserChatManager.getInstanceFor(connection);
MultiUserChat chatRoom = multiUserChatManager.getMultiUserChat(testGroup@conference.muc.test.org);
but the result in openfire is that the membership was granted to the (inexistent) user testGroup@muc.test.org, not to the group.
Is it possible to do what i’m trying to do?