prosodyctl commands…
prosodyctl shell Launch the shell: # prosodyctl shell Delete pubsub node (the ">" sign at the beginning is important and also dangerous, as it lets you do anything!): >prosody.hosts["pubsub.example.tld"].modules.pubsub.service:delete("blog", true) Delete ALL pubsub nodes >local service = prosody.hosts["pubsub.example.tld"].modules.pubsub.service; for node in pairs(select(2, assert(service:get_nodes(true)))) do service:delete(node, true); end Check subscription by user: >prosody.hosts["pubsub.example.tld"].modules.pubsub.service.subscriptions["user@example.tld"] Change affiliation on pubsub nodes (make user owner): >prosody.hosts["pubsub.example.tld"].modules.pubsub.service:set_affiliation("blog",true,"user@example.tld","owner") Unsubscribe from node…