From 58f2bd888edf08645a1d91f4193e55554f4d2ddc Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 14 Jul 2018 18:49:12 +0200 Subject: mod_pubsub: Revert disco#info part from previous commit --- plugins/mod_pubsub/pubsub.lib.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 561d06c1..ebb8727d 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -187,7 +187,10 @@ function _M.handle_disco_info_node(event, service) event.exists = true; reply:tag("identity", { category = "pubsub", type = "leaf" }):up(); if node_obj.config then - reply:add_child(node_metadata_form:form(config_to_xep0060(node_obj.config), "result")); + reply:add_child(node_metadata_form:form({ + ["pubsub#title"] = node_obj.config.title; + ["pubsub#description"] = node_obj.config.description; + }, "result")); end end -- cgit v1.2.3