aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-30 19:18:03 +0100
committerKim Alvefur <zash@zash.se>2018-10-30 19:18:03 +0100
commit8b6b43e64a5abb56445bc42dfb46e622d70a353a (patch)
treed45a700056f75e5f329a23a6ea76b7d2184e4070 /plugins
parent995bf1ad5c115daf0ca385a4860125bfe442c3a6 (diff)
parente6400cd0d86b2d76d9bb737d9b86f063acd3dca0 (diff)
downloadprosody-8b6b43e64a5abb56445bc42dfb46e622d70a353a.tar.gz
prosody-8b6b43e64a5abb56445bc42dfb46e622d70a353a.zip
Merge 0.11->trunk
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pep.lua2
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua2
2 files changed, 2 insertions, 2 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);
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 05d2d663..40adcafe 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -152,7 +152,7 @@ module:hook("host-disco-items", function (event)
return;
end
for node, node_obj in pairs(ret) do
- reply:tag("item", { jid = module.host, node = node, name = node_obj.config.name }):up();
+ reply:tag("item", { jid = module.host, node = node, name = node_obj.config.title }):up();
end
end);