summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-09-28 15:37:28 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-09-28 15:37:28 +0100
commit8f646f2d04e7d21aa0570826bd78a0bbc3bb706b (patch)
tree44dcac16b1ff740642255d789a4566e4eaad449c /synapse/config
parentuntested stab at autocreating autojoin rooms (diff)
downloadsynapse-8f646f2d04e7d21aa0570826bd78a0bbc3bb706b.tar.xz
fix UTs
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/registration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py
index 686c7fa9f7..dcf2374ed2 100644
--- a/synapse/config/registration.py
+++ b/synapse/config/registration.py
@@ -44,7 +44,7 @@ class RegistrationConfig(Config):
         )
 
         self.auto_join_rooms = config.get("auto_join_rooms", [])
-        self.autocreate_auto_join_rooms = config.get("autocreate_auto_join_rooms", true)
+        self.autocreate_auto_join_rooms = config.get("autocreate_auto_join_rooms", True)
 
     def default_config(self, **kwargs):
         registration_shared_secret = random_string_with_symbols(50)