# HG changeset patch # User Kim Alvefur # Date 1527340167 -7200 # Node ID 5d7db3c7c026ecacd2037a3f855a6cfa0e4844e3 # Parent 6dd7fea941f6b4f27417cebe066c0f0142f792d4 MUC: Pass description via formdata field where it should be diff -r 6dd7fea941f6 -r 5d7db3c7c026 plugins/muc/description.lib.lua --- a/plugins/muc/description.lib.lua Sat May 26 14:44:50 2018 +0200 +++ b/plugins/muc/description.lib.lua Sat May 26 15:09:27 2018 +0200 @@ -22,8 +22,9 @@ 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)