diff plugins/mod_pubsub/mod_pubsub.lua @ 9598:dcd85bc34d21

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 30 Oct 2018 19:18:03 +0100
parents 17d43543f9b6
children e7ddf70ae417 8e68136cde08
line wrap: on
line diff
--- a/plugins/mod_pubsub/mod_pubsub.lua	Tue Oct 30 13:59:53 2018 +0000
+++ b/plugins/mod_pubsub/mod_pubsub.lua	Tue Oct 30 19:18:03 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);