Comparison

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
comparison
equal deleted inserted replaced
13585:8091c1b8023e 13586:c8a387912a33
529 if item then module:remove_item("pep-service", item); end 529 if item then module:remove_item("pep-service", item); end
530 530
531 recipients[username] = nil; 531 recipients[username] = nil;
532 end); 532 end);
533 533
534 module:require("mod_pubsub/commands").add_commands(function (service_jid)
535 return get_pep_service((jid_split(service_jid)));
536 end);