Fix mod_muc_slow_mode: add min value for slow_mode_duration field.
This commit is contained in:
parent
ec442fbd2b
commit
93f2cc277d
@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## ??? (Not Released Yet)
|
||||
|
||||
* Fix mod_muc_slow_mode: add min value for slow_mode_duration field.
|
||||
|
||||
## 8.3.1
|
||||
|
||||
* Fix: video owner must be room owner, not only admin. Otherwise they can't edit room parameters (including slow mode settings).
|
||||
|
@ -66,6 +66,7 @@ local function add_form_option(event)
|
||||
name = "muc#roomconfig_slow_mode_duration";
|
||||
type = "text-single";
|
||||
datatype = "xs:integer";
|
||||
range_min = 0;
|
||||
label = "Slow Mode (0=disabled, any positive integer= users can send a message every X seconds.)";
|
||||
-- desc = "";
|
||||
value = get_slow_mode_duration(event.room);
|
||||
|
Loading…
x
Reference in New Issue
Block a user