aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-30 18:20:54 +0100
committerKim Alvefur <zash@zash.se>2018-10-30 18:20:54 +0100
commite6400cd0d86b2d76d9bb737d9b86f063acd3dca0 (patch)
treeb44fc3ef401359311297daf74c55ab1f2d9985cd /plugins/mod_pep.lua
parent0ec2f1debd094977213c4fdb3f1cd75b3402176b (diff)
downloadprosody-e6400cd0d86b2d76d9bb737d9b86f063acd3dca0.tar.gz
prosody-e6400cd0d86b2d76d9bb737d9b86f063acd3dca0.zip
pubsub: Set pubsub#title as name attribute in disco#items (fixes #1226)
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 681e5be8..1d8c55bf 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -464,6 +464,6 @@ module:hook("account-disco-items", function(event)
if not ok then return; end
for node, node_obj in pairs(ret) do
- reply:tag("item", { jid = user_bare, node = node, name = node_obj.config.name }):up();
+ reply:tag("item", { jid = user_bare, node = node, name = node_obj.config.title }):up();
end
end);