summary refs log tree commit diff
path: root/synapse/config/consent_config.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-05-25 11:42:05 +0100
committerRichard van der Hoff <richard@matrix.org>2018-05-25 11:42:05 +0100
commit66bdae986f4bdee300aebb4ad6ebeeba48286e6b (patch)
treee98ab32595d489f293ec9ac99a680163ea8b005b /synapse/config/consent_config.py
parentAvoid sending consent notice to guest users (diff)
downloadsynapse-66bdae986f4bdee300aebb4ad6ebeeba48286e6b.tar.xz
Fix default for send_server_notice_to_guests
bool("False") == True...
Diffstat (limited to '')
-rw-r--r--synapse/config/consent_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/consent_config.py b/synapse/config/consent_config.py
index 3f29346593..8f6ed73328 100644
--- a/synapse/config/consent_config.py
+++ b/synapse/config/consent_config.py
@@ -78,7 +78,7 @@ class ConsentConfig(Config):
             "block_events_error",
         )
         self.user_consent_server_notice_to_guests = bool(consent_config.get(
-            "send_server_notice_to_guests", "False"
+            "send_server_notice_to_guests", False,
         ))
 
     def default_config(self, **kwargs):