Changeset

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
parents 12021:376522fb3f52
children 12023:5a3781a12285
files plugins/mod_pep.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;