[ejabberd] Direct db roster manipulation.

Badlop badlop at gmail.com
Mon Aug 29 17:39:52 MSK 2016


If you enable mod_admin_extra, it provides several ejabberd commands
for managing user rosters. I hope some of those commands will not have
the problem you mention.

You can execute those commands using the the ejabberdctl shell script
(good for testing), xmlrpc queries (enabling ejabberd_xmlrpc), ReST
queries (enabling mod_http_api, or installing mod_rest).


On 29 August 2016 at 10:39, Yiorgis Gozadinos <ggozad at crypho.com> wrote:
> Hey all,
> In our application for certain things we would like to directly manipulate
> rosterusers and rostergroups outside ejabberd. While this works fine after a
> while, ejabberd seems to rely on a cache for some time giving roster to
> users which is not in sync with the db. Is there a way of notifying ejabberd
> to invalidate its cache or managing this in a better way?
> --
> Yiorgis Gozadinos
> www.crypho.com
> www.about.me/gozadinos
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

More information about the ejabberd mailing list