Fix naming.

This commit is contained in:
John Livingston 2024-02-14 09:35:13 +01:00
parent cd97d91f79
commit 3c8563bec4
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC

View File

@ -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);