4
votes

I would like to create/delete pubsub nodes in ejabberd by making calls to ejabberd module mod_pubsub using rpc calls to ejabberd node.

Can anyone tell me if this is a valid approach and show me an example of code? I would like to avoid sending xml stanzas from another ejabberd module.

1
did you manage to do this?nhenrique
nope. it was a pet project, so after some research and no answer i gave upuser601836

1 Answers

0
votes

I encountered the same use case and Solved using the python package

sleekxmpp==1.3.3

Find the snippet for creating and deleting pubsub node in ejabberd Here