Diff

plugins/mod_pep.lua @ 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
parent 13486:fdd1438d9ef7
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);