Diff

plugins/mod_pep.lua @ 12022:eedd3eff0768

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.
author Kim Alvefur <zash@zash.se>
date Tue, 07 Dec 2021 13:04:52 +0100
parent 11856:14a679588b7b
child 12091:7a48ccb084dd
line wrap: on
line diff
--- 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;