Software /
code /
prosody
Diff
plugins/mod_pubsub/mod_pubsub.lua @ 9597:17d43543f9b6 0.11
pubsub: Set pubsub#title as name attribute in disco#items (fixes #1226)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 30 Oct 2018 18:20:54 +0100 |
parent | 9234:d00e8ec7ece2 |
child | 9720:e7ddf70ae417 |
child | 9828:8e68136cde08 |
line wrap: on
line diff
--- a/plugins/mod_pubsub/mod_pubsub.lua Tue Oct 30 12:24:48 2018 +0000 +++ b/plugins/mod_pubsub/mod_pubsub.lua Tue Oct 30 18:20:54 2018 +0100 @@ -152,7 +152,7 @@ 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);