From 90ebd32c7abcc1be8a6546c907daf3372701e69d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 26 May 2018 15:09:27 +0200 Subject: MUC: Pass description via formdata field where it should be --- plugins/muc/description.lib.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/muc') 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) -- cgit v1.2.3