diff options
author | Neil Johnson <neil@matrix.org> | 2018-08-03 14:59:17 +0100 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2018-08-03 14:59:17 +0100 |
commit | 5593ff6773c7556b85514ee172c4b6c06898f35e (patch) | |
tree | 011ac022785d2877b18723b2d057717c4c0de78d /synapse | |
parent | fix py3 test failure (diff) | |
download | synapse-5593ff6773c7556b85514ee172c4b6c06898f35e.tar.xz |
fix (lots of) py3 test failures
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/config/server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 6a471a0a5e..8fd2319759 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -69,12 +69,12 @@ class ServerConfig(Config): # Options to control access by tracking MAU self.limit_usage_by_mau = config.get("limit_usage_by_mau", False) + self.max_mau_value = 0 if self.limit_usage_by_mau: self.max_mau_value = config.get( "max_mau_value", 0, ) - else: - self.max_mau_value = 0 + # FIXME: federation_domain_whitelist needs sytests self.federation_domain_whitelist = None federation_domain_whitelist = config.get( |