[ejabberd] Managing user bookmarks from command line

Holger Weiß holger at zedat.fu-berlin.de
Sat Jan 2 23:18:47 MSK 2016


* Dominik George <nik at naturalnet.de> [2016-01-01 01:01]:
> I want to add MUC bookmarks for users from the command line.
> 
> The closest I could get by now is using ejabberdctl private_set on storage:bookmarks.
> 
> But I don't know how to add bookmarks this way. Do I need to get the contents with private_get first, manipulate the XML by hand and reinject it?

I don't see a more straightforward way, either.  It would probably make
sense to add explicit "add_bookmark"/"remove_bookmark" commands or so.

Holger


More information about the ejabberd mailing list