diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-05-25 11:42:05 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-05-25 11:42:05 +0100 |
commit | 66bdae986f4bdee300aebb4ad6ebeeba48286e6b (patch) | |
tree | e98ab32595d489f293ec9ac99a680163ea8b005b /synapse/config | |
parent | Avoid sending consent notice to guest users (diff) | |
download | synapse-66bdae986f4bdee300aebb4ad6ebeeba48286e6b.tar.xz |
Fix default for send_server_notice_to_guests
bool("False") == True...
Diffstat (limited to 'synapse/config')
-rw-r--r-- | synapse/config/consent_config.py | 2 |
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): |