Mercurial > prosody-hg
diff plugins/mod_pep.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 |
| parents | b8bfcfbe5126 |
| children | 2a42b72468ca fd8aaab6669c |
line wrap: on
line diff
--- a/plugins/mod_pep.lua Tue Oct 30 12:24:48 2018 +0000 +++ b/plugins/mod_pep.lua Tue Oct 30 18:20:54 2018 +0100 @@ -464,6 +464,6 @@ 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);
