0

I have ejabberd 19.02 installed on an Ubuntu 18.04 server. I would like to find out if an admin can issue pub/sub related commands such as node creation, subscribing a jid to a node, sending a message to a node, etc., from either ejabberdctl or ejabberd Rest API.

I have searched everywhere and don't see any reference to it. In my ejabberd.yml file, I see the pubsub related options like below.

mod_pubsub:
    access_createnode: pubsub_createnode
    plugins:
      - "flat"
      - "pep"
    force_node_config:
      ## Change from "whitelist" to "open" to enable OMEMO support
      ## See https://github.com/processone/ejabberd/issues/2425
      "eu.siacs.conversations.axolotl.*":
        access_model: whitelist
      ## Avoid buggy clients to make their bookmarks public
      "storage:bookmarks":
        access_model: whitelist

Thank you.

1

mod_pubsub does not provide any command. You can try to use the send_stanza command to send the corresponding XMPP packets...

  • Thank you so much. – Phyo May 29 at 2:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.