diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-03-19 10:06:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 10:06:40 +0000 |
commit | fd463b4f5db3fb164505bc2b2300c6a5f73c73e4 (patch) | |
tree | 5191eb24d335448e701abd326956c55dfc9d4fa1 /synapse/config/groups.py | |
parent | Migrate the user directory initial population to a background task (#4864) (diff) | |
download | synapse-fd463b4f5db3fb164505bc2b2300c6a5f73c73e4.tar.xz |
Comment out most options in the generated config. (#4863)
Make it so that most options in the config are optional, and commented out in the generated config. The reasons this is a good thing are as follows: * If we decide that we should change the default for an option, we can do so, and only those admins that have deliberately chosen to override that option will be stuck on the old setting. * It moves us towards a point where we can get rid of the super-surprising feature of synapse where the default settings for the config come from the generated yaml. * It makes setting up a test config for unit testing an order of magnitude easier (see forthcoming PR). * It makes the generated config more consistent, and hopefully easier for users to understand.
Diffstat (limited to 'synapse/config/groups.py')
-rw-r--r-- | synapse/config/groups.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/groups.py b/synapse/config/groups.py index 46933a904c..e4be172a79 100644 --- a/synapse/config/groups.py +++ b/synapse/config/groups.py @@ -23,9 +23,9 @@ class GroupsConfig(Config): def default_config(self, **kwargs): return """\ - # Whether to allow non server admins to create groups on this server + # Uncomment to allow non-server-admin users to create groups on this server # - enable_group_creation: false + #enable_group_creation: true # If enabled, non server admins can only create groups with local parts # starting with this prefix |