Commit d8ce8e71 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added system property "muc.room.maxUsers" for default max number of users value. JM-1260

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9828 b35dd754-fafc-0310-a699-88a17e54d16e
parent 75004650
...@@ -157,7 +157,7 @@ public class LocalMUCRoom implements MUCRoom { ...@@ -157,7 +157,7 @@ public class LocalMUCRoom implements MUCRoom {
* Maximum number of occupants that could be present in the room. If the limit's been reached * Maximum number of occupants that could be present in the room. If the limit's been reached
* and a user tries to join, a not-allowed error will be returned. * and a user tries to join, a not-allowed error will be returned.
*/ */
private int maxUsers = 30; private int maxUsers = JiveGlobals.getIntProperty("muc.room.maxUsers", 30);
/** /**
* List of roles of which presence will be broadcasted to the rest of the occupants. This * List of roles of which presence will be broadcasted to the rest of the occupants. This
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment