aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-07 13:04:52 +0100
committerKim Alvefur <zash@zash.se>2021-12-07 13:04:52 +0100
commitf7527cc4f1751d086e33294a8d25a2946556131b (patch)
tree17fa31d63594c8a57dd3301670401aded3ebd535 /plugins
parentf2f78d4bf9f5c3af39cc684bff851e49e3ad1d00 (diff)
downloadprosody-f7527cc4f1751d086e33294a8d25a2946556131b.tar.gz
prosody-f7527cc4f1751d086e33294a8d25a2946556131b.zip
mod_pep: Set correct jid attr on node disco items
It was previously set to the hostname, not the users bare JID which would be correct.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pep.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index ad69e6ad..6ee5fcfa 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -220,6 +220,7 @@ function get_pep_service(username)
end;
};
+ jid = user_bare;
normalize_jid = jid_bare;
check_node_config = check_node_config;