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
parent 9542:b8bfcfbe5126
child 9607:2a42b72468ca
child 9827: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);