Software /
code /
prosody
Changeset
9038:fd053fcaf9bc
mod_pubsub: Revert disco#info part from previous commit
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 14 Jul 2018 18:49:12 +0200 |
parents | 9037:e3c8274427d3 |
children | 9039:0124e5ec1556 |
files | plugins/mod_pubsub/pubsub.lib.lua |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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