From 3c8563bec45bdc1991d831b961e05eabb235ac1c Mon Sep 17 00:00:00 2001 From: John Livingston Date: Wed, 14 Feb 2024 09:35:13 +0100 Subject: [PATCH] Fix naming. --- prosody-modules/mod_muc_slow_mode/mod_muc_slow_mode.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prosody-modules/mod_muc_slow_mode/mod_muc_slow_mode.lua b/prosody-modules/mod_muc_slow_mode/mod_muc_slow_mode.lua index ecfc5fd4..cceb7fd9 100644 --- a/prosody-modules/mod_muc_slow_mode/mod_muc_slow_mode.lua +++ b/prosody-modules/mod_muc_slow_mode/mod_muc_slow_mode.lua @@ -49,10 +49,10 @@ end -- Discovering support local function add_disco_form(event) table.insert(event.room, { - name = "muc#roomconfig_slow_mode_delay"; + name = "muc#roominfo_slow_mode_delay"; value = ""; }); - event.formdata["muc#roomconfig_slow_mode_delay"] = get_slow_mode_delay(event.room); + event.formdata["muc#roominfo_slow_mode_delay"] = get_slow_mode_delay(event.room); end module:hook("mub-disco#info", add_disco_form);