From 25b7ac8ececaffc63eef8c72d17d38319d8f1a74 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 7 Jan 2025 14:27:34 +0000 Subject: mod_pep: Support for node/item management commands --- plugins/mod_pep.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/mod_pep.lua') diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index 33eee2ec..b0dfe423 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -531,3 +531,6 @@ module:hook_global("user-deleted", function(event) recipients[username] = nil; end); +module:require("mod_pubsub/commands").add_commands(function (service_jid) + return get_pep_service((jid_split(service_jid))); +end); -- cgit v1.2.3