# HG changeset patch # User Kim Alvefur # Date 1531586952 -7200 # Node ID fd053fcaf9bc29bc37b60208d2edbcf688a1081b # Parent e3c8274427d3946e0c2c79833a24e23a5b4376be mod_pubsub: Revert disco#info part from previous commit diff -r e3c8274427d3 -r fd053fcaf9bc plugins/mod_pubsub/pubsub.lib.lua --- a/plugins/mod_pubsub/pubsub.lib.lua Sat Jul 14 18:42:36 2018 +0200 +++ b/plugins/mod_pubsub/pubsub.lib.lua Sat Jul 14 18:49:12 2018 +0200 @@ -187,7 +187,10 @@ 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