Software / code / prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
| 12021:376522fb3f52 | 12022:eedd3eff0768 |
|---|---|
| 218 end | 218 end |
| 219 return "outcast"; | 219 return "outcast"; |
| 220 end; | 220 end; |
| 221 }; | 221 }; |
| 222 | 222 |
| 223 jid = user_bare; | |
| 223 normalize_jid = jid_bare; | 224 normalize_jid = jid_bare; |
| 224 | 225 |
| 225 check_node_config = check_node_config; | 226 check_node_config = check_node_config; |
| 226 }); | 227 }); |
| 227 services[username] = service; | 228 services[username] = service; |