aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2007-11-29 16:16:10 +0000
committerBadlop <badlop@process-one.net>2007-11-29 16:16:10 +0000
commit4257f0c79072200fb84b1258adb2652118672ed2 (patch)
tree5529ab6dca22fc60a8a4fd072cd2908bebdf1ff4
parent* doc/guide.tex: It should be made more clear that domain_certfile (diff)
* src/mod_muc/mod_muc_room.erl: Hide the option 'Make room
moderated' because it isn't implemented, and set the default value of 'moderated' to true because that is the behaviour implemented (EJAB-419) SVN Revision: 999
-rw-r--r--ChangeLog7
-rw-r--r--src/mod_muc/mod_muc_room.erl8
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b2b9871c..6b38c68b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-11-29 Badlop <badlop@process-one.net>
+
+ * src/mod_muc/mod_muc_room.erl: Hide the option 'Make room
+ moderated' because it isn't implemented, and set the default value
+ of 'moderated' to true because that is the behaviour
+ implemented (EJAB-419)
+
2007-11-28 Badlop <badlop@process-one.net>
* doc/guide.tex: It should be made more clear that domain_certfile
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl
index 6b7bd0fff..327561a0c 100644
--- a/src/mod_muc/mod_muc_room.erl
+++ b/src/mod_muc/mod_muc_room.erl
@@ -46,7 +46,7 @@
public = true,
public_list = true,
persistent = false,
- moderated = false, % TODO
+ moderated = true, % TODO
members_by_default = true,
members_only = false,
allow_user_invites = false,
@@ -2536,9 +2536,9 @@ get_config(Lang, StateData, From) ->
?BOOLXFIELD("Make room members-only",
"muc#roomconfig_membersonly",
Config#config.members_only),
- ?BOOLXFIELD("Make room moderated",
- "muc#roomconfig_moderatedroom",
- Config#config.moderated),
+ %%?BOOLXFIELD("Make room moderated",
+ %% "muc#roomconfig_moderatedroom",
+ %% Config#config.moderated),
?BOOLXFIELD("Default users as participants",
"members_by_default",
Config#config.members_by_default),