From 66bdae986f4bdee300aebb4ad6ebeeba48286e6b Mon Sep 17 00:00:00 2001
From: Richard van der Hoff <richard@matrix.org>
Date: Fri, 25 May 2018 11:42:05 +0100
Subject: [PATCH] Fix default for send_server_notice_to_guests

bool("False") == True...
---
 synapse/config/consent_config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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):
-- 
GitLab