mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
MUC: Add sections in room config form
This commit is contained in:
parent
1a0e7d5a10
commit
1f50e15c8e
10 changed files with 12 additions and 10 deletions
|
@ -37,7 +37,7 @@ local function add_form_option(event)
|
|||
end
|
||||
|
||||
module:hook("muc-disco#info", add_disco_form);
|
||||
module:hook("muc-config-form", add_form_option, 100-9.5);
|
||||
module:hook("muc-config-form", add_form_option, 100-3);
|
||||
|
||||
module:hook("muc-config-submitted/muc#roomconfig_lang", function(event)
|
||||
if set_language(event.room, event.value) then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue