User contact list /drop/move/save

Alex Kobzar
Added over 2 years ago


How i can do some actions with user(jid) contact list?

For example drop all contacts by for selected jid or save it e.t.c.


Replies (1)

Added by Wojciech Kapcia TigaseTeam over 2 years ago

The most important question is - where do you want to add it? In a plugin? component? admin ad-hoc script (in groovy for example?)? our webUI?

If you are asking about plugins, then I would recommend perusing tigase.xmpp.impl.Presence for example:

protected RosterAbstract roster_util = getRosterUtil();