Create group and add to user programatically

Hey!

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

http://download.igniterealtime.org/smack/docs/latest/documentation/extensions/mu c.html

“not MUC”

So a Roster group then?

Yeah

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

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