mod_pep: Set correct jid attr on node disco items
authorKim Alvefur <zash@zash.se>
Tue, 07 Dec 2021 13:04:52 +0100
changeset 12026 eedd3eff0768
parent 12025 376522fb3f52
child 12027 5a3781a12285
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.
plugins/mod_pep.lua
--- a/plugins/mod_pep.lua	Tue Dec 07 13:03:55 2021 +0100
+++ b/plugins/mod_pep.lua	Tue Dec 07 13:04:52 2021 +0100
@@ -220,6 +220,7 @@
 			end;
 		};
 
+		jid = user_bare;
 		normalize_jid = jid_bare;
 
 		check_node_config = check_node_config;