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.html | |
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.html')
-rw-r--r-- | doc/guide.html | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/doc/guide.html b/doc/guide.html index 8cf7310ec..98db96307 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -2134,6 +2134,18 @@ number of rooms that any given user can join. The default value 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. +</DD><DT CLASS="dt-description"><B><TT>max_room_id</TT></B></DT><DD CLASS="dd-description"> +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. +</DD><DT CLASS="dt-description"><B><TT>max_room_name</TT></B></DT><DD CLASS="dd-description"> +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. +</DD><DT CLASS="dt-description"><B><TT>max_room_desc</TT></B></DT><DD CLASS="dd-description"> +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. </DD><DT CLASS="dt-description"><B><TT>min_message_interval</TT></B></DT><DD CLASS="dd-description"> This option defines the minimum interval between two messages send by an occupant in seconds. This option is global and valid for all @@ -2245,12 +2257,17 @@ and the default value of 20 history messages will be send to the users. ]}. </PRE></LI><LI CLASS="li-itemize">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:<PRE CLASS="verbatim">{modules, [ ... {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}]}, ... ]}. </PRE></LI><LI CLASS="li-itemize">This example shows how to use <TT>default_room_options</TT> to make sure |