diff options
author | Kim Alvefur <zash@zash.se> | 2018-05-26 15:09:27 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-05-26 15:09:27 +0200 |
commit | 90ebd32c7abcc1be8a6546c907daf3372701e69d (patch) | |
tree | 059abdcd1b407b6c8b4d55c404b5ab61a4ddea15 /plugins | |
parent | 154c2747e767a2bd8309ed7fde858752f69a360c (diff) | |
download | prosody-90ebd32c7abcc1be8a6546c907daf3372701e69d.tar.gz prosody-90ebd32c7abcc1be8a6546c907daf3372701e69d.zip |
MUC: Pass description via formdata field where it should be
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/muc/description.lib.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/muc/description.lib.lua b/plugins/muc/description.lib.lua index d9e02724..537a6ff3 100644 --- a/plugins/muc/description.lib.lua +++ b/plugins/muc/description.lib.lua @@ -22,8 +22,9 @@ local function add_disco_form(event) table.insert(event.form, { name = "muc#roominfo_description"; label = "Description"; - value = get_description(event.room) or ""; + value = ""; }); + event.formdata["muc#roominfo_description"] = get_description(event.room); end local function add_form_option(event) |