diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-02-19 13:54:29 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-02-19 13:54:29 +0000 |
commit | 5f9bdf90fe6baf12972d9f94557b3077f008cd9b (patch) | |
tree | ecfaa199e18456ac77f869ec0d2a98cbf2575d94 /synapse/config/room_directory.py | |
parent | clarify TLS instructions (diff) | |
download | synapse-5f9bdf90fe6baf12972d9f94557b3077f008cd9b.tar.xz |
Attempt to make default config more consistent
The general idea here is that config examples should just have a hash and no extraneous whitespace, both to make it easier for people who don't understand yaml, and to make the examples stand out from the comments.
Diffstat (limited to 'synapse/config/room_directory.py')
-rw-r--r-- | synapse/config/room_directory.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/synapse/config/room_directory.py b/synapse/config/room_directory.py index c8e0abbae7..9b897abe3c 100644 --- a/synapse/config/room_directory.py +++ b/synapse/config/room_directory.py @@ -76,11 +76,11 @@ class RoomDirectoryConfig(Config): # # The default is: # - # alias_creation_rules: - # - user_id: "*" - # alias: "*" - # room_id: "*" - # action: allow + #alias_creation_rules: + # - user_id: "*" + # alias: "*" + # room_id: "*" + # action: allow # The `room_list_publication_rules` option controls who can publish and # which rooms can be published in the public room list. @@ -105,11 +105,11 @@ class RoomDirectoryConfig(Config): # # The default is: # - # room_list_publication_rules: - # - user_id: "*" - # alias: "*" - # room_id: "*" - # action: allow + #room_list_publication_rules: + # - user_id: "*" + # alias: "*" + # room_id: "*" + # action: allow """ def is_alias_creation_allowed(self, user_id, room_id, alias): |