aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pep.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 0d52a2fd..f1228b5a 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -43,6 +43,10 @@ end
function module.restore(data)
services = data.services;
recipients = data.recipients;
+ for username, service in pairs(services) do
+ local user_bare = jid_join(username, host);
+ module:add_item("pep-service", { service = service, jid = user_bare });
+ end
end
function is_item_stanza(item)