diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-14 18:49:12 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-14 18:49:12 +0200 |
commit | 47eca5d3fb991ba505df36147f31c7f23643fa79 (patch) | |
tree | 114e29c8a836b22c17a6839305b2b6b97d2511c4 /plugins/mod_pubsub | |
parent | 5cabe2228225a807a95329d1bc2dfca5d5305855 (diff) | |
download | prosody-47eca5d3fb991ba505df36147f31c7f23643fa79.tar.gz prosody-47eca5d3fb991ba505df36147f31c7f23643fa79.zip |
mod_pubsub: Revert disco#info part from previous commit
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 5 |
1 files changed, 4 insertions, 1 deletions
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 |