ejabberd: Add option to disable room logging by default

This commit is contained in:
Ossi Salmi 2016-04-13 10:15:27 +03:00
parent 7494adf19b
commit 7ab4b0b7aa
3 changed files with 6 additions and 2 deletions

View file

@ -558,7 +558,7 @@ user, host = admin.split("@") -%>
{allow_user_invites, true},
{anonymous, false},
{public, false},
<% if @muclog_datadir -%>
<% if @muclog_datadir and @muclog_default == true -%>
{logging, true},
<% else -%>
{logging, false},

View file

@ -185,7 +185,7 @@ modules:
default_room_options:
allow_user_invites: true
anonymous: false
<% if @muclog_datadir -%>
<% if @muclog_datadir and @muclog_default == true -%>
logging: true
<% else -%>
logging: false