diff options
author | Matthew Wild <mwild1@gmail.com> | 2025-01-07 14:27:34 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2025-01-07 14:27:34 +0000 |
commit | 25b7ac8ececaffc63eef8c72d17d38319d8f1a74 (patch) | |
tree | 2492179a74cd45c7ec21077d8ebb9e37487c84c8 /plugins | |
parent | a10a0140e5256b0060fb5633f89394aeebcf07b6 (diff) | |
download | prosody-25b7ac8ececaffc63eef8c72d17d38319d8f1a74.tar.gz prosody-25b7ac8ececaffc63eef8c72d17d38319d8f1a74.zip |
mod_pep: Support for node/item management commands
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pep.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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); |