aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/description.lib.lua3
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)