Create group and add to user programatically


I haven’t find the method, how to create a user group (not MUC) in code (java) and add this to a specified user.

Could you help?

Best regards,

David c.html

“not MUC”

So a Roster group then?


RosterGroup.addEntry(): RosterGroup (Smack 4.1.8 API)

I think, that is what I was looking for. Thanks.