diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-06-28 20:56:07 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-06-28 20:56:07 +0100 |
commit | e72234f6bda33d89dcca07751e34c62b88215e9d (patch) | |
tree | d2c0917329ae8ccefef01e2af9561f59eeff66d1 /synapse/config/appservice.py | |
parent | add ip_range_whitelist parameter to limit where ASes can connect from (diff) | |
download | synapse-e72234f6bda33d89dcca07751e34c62b88215e9d.tar.xz |
fix tests
Diffstat (limited to 'synapse/config/appservice.py')
-rw-r--r-- | synapse/config/appservice.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/appservice.py b/synapse/config/appservice.py index 89c07f202f..0c27bb2fa7 100644 --- a/synapse/config/appservice.py +++ b/synapse/config/appservice.py @@ -157,6 +157,7 @@ def _load_appservice(hostname, as_info, config_filename): config_filename, ) + ip_range_whitelist = None if as_info.get('ip_range_whitelist'): ip_range_whitelist = IPSet( as_info.get('ip_range_whitelist') |