From 299aa07cb82da8d5185ff2ccbf10143e24b7e93c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 30 Oct 2018 18:20:54 +0100 Subject: pubsub: Set pubsub#title as name attribute in disco#items (fixes #1226) --- plugins/mod_pep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_pep.lua') 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); -- cgit v1.2.3