Software /
code /
prosody
Changeset
13177:6f64542a1336
mod_pubsub: Send correct jid attribute in disco#items
Fixes use in PEP where the JID does not equal the bare domain.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 08 Jul 2023 18:23:40 +0200 |
parents | 13139:5d5869f14c4d |
children | 13178:e689d4c45681 |
files | plugins/mod_pubsub/pubsub.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua Sat Jun 10 12:33:58 2023 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Sat Jul 08 18:23:40 2023 +0200 @@ -309,7 +309,7 @@ end for _, id in ipairs(ret) do - reply:tag("item", { jid = service.jid or module.host, name = id }):up(); + reply:tag("item", { jid = service.config.jid or module.host, name = id }):up(); end event.exists = true; end