Changeset

13586:c8a387912a33

mod_pep: Support for node/item management commands
author Matthew Wild <mwild1@gmail.com>
date Tue, 07 Jan 2025 14:27:34 +0000
parents 13585:8091c1b8023e
children 13587:fdb2e0568cf8
files plugins/mod_pep.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pep.lua	Tue Jan 07 14:27:18 2025 +0000
+++ b/plugins/mod_pep.lua	Tue Jan 07 14:27:34 2025 +0000
@@ -531,3 +531,6 @@
 	recipients[username] = nil;
 end);
 
+module:require("mod_pubsub/commands").add_commands(function (service_jid)
+	return get_pep_service((jid_split(service_jid)));
+end);