powered by Jive Software

Programmatically change roster and subscription

Hi all,

i’ve built my own plugin to openfire for manage users, groups and some other stuff.

i’ve to write down the last functionality: with input 2 usernames i’ve to create a friendship between them. By friendship i mean that i’ve to add each other in their roster and subscribe them to see the presence status respectively.

How can i do that? there is a “clean way” to edit user roster and subscription on server side?