diff options
author | Badlop <badlop@process-one.net> | 2009-04-22 12:05:10 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-04-22 12:05:10 +0000 |
commit | b59ecb83e8df04316ad8656444f7ded0fd610fee (patch) | |
tree | d82c10f84c6e703d1c772af6aeefdbe7c557bb36 /doc/guide.tex | |
parent | * src/cyrsasl.erl: Change API of check_password: pass a function (diff) |
* src/mod_muc/mod_muc.erl: Limit number of characters in Room ID,
Name and Description (EJAB-899)
* src/mod_muc/mod_muc_room.erl: Likewise
* doc/guide.tex: Likewise
* doc/guide.html: Likewise
SVN Revision: 2034
Diffstat (limited to 'doc/guide.tex')
-rw-r--r-- | doc/guide.tex | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/doc/guide.tex b/doc/guide.tex index ab9d11324..159ac6133 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -2811,6 +2811,18 @@ Module options: is 10. This option is used to prevent possible abuses. Note that this is a soft limit: some users can sometimes join more conferences in cluster configurations. +\titem{max\_room\_id} \ind{options!max\_room\_id} + This option defines the maximum number of characters that Room ID + can have when creating a new room. + The default value is to not limit: infinite. +\titem{max\_room\_name} \ind{options!max\_room\_name} + This option defines the maximum number of characters that Room Name + can have when configuring the room. + The default value is to not limit: infinite. +\titem{max\_room\_desc} \ind{options!max\_room\_desc} + This option defines the maximum number of characters that Room Description + can have when configuring the room. + The default value is to not limit: infinite. \titem{min\_message\_interval} \ind{options!min\_message\_interval} This option defines the minimum interval between two messages send by an occupant in seconds. This option is global and valid for all @@ -2929,7 +2941,9 @@ Examples: \item In the following example, MUC anti abuse options are used. An occupant cannot send more than one message every 0.4 seconds and cannot -change its presence more than once every 4 seconds. No ACLs are +change its presence more than once every 4 seconds. +The length of Room IDs and Room Names are limited to 20 characters, +and Room Description to 300 characters. No ACLs are defined, but some user restriction could be added as well: \begin{verbatim} @@ -2937,7 +2951,10 @@ defined, but some user restriction could be added as well: [ ... {mod_muc, [{min_message_interval, 0.4}, - {min_presence_interval, 4}]}, + {min_presence_interval, 4}, + {max_room_id, 20}, + {max_room_name, 20}, + {max_room_desc, 300}]}, ... ]}. \end{verbatim} |