--- 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