diff options
author | Erik Johnston <erikj@jki.re> | 2018-08-24 12:23:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 12:23:39 +0100 |
commit | 84b4e76fedc8e26cb701bdddad094237bb30c0f7 (patch) | |
tree | 0f9757bfb06ccd5d6e3ad875c3cd6bc0eca93dae /synapse | |
parent | Merge pull request #3753 from matrix-org/erikj/fix_no_server_noticse (diff) | |
parent | Newsfile (diff) | |
download | synapse-84b4e76fedc8e26cb701bdddad094237bb30c0f7.tar.xz |
Merge pull request #3754 from matrix-org/erikj/fix_whitelist hhs-1
Allow federation_domain_whitelist to be emtpy list
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/http/matrixfederationclient.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py index 44b61e70a4..b34bb8e31a 100644 --- a/synapse/http/matrixfederationclient.py +++ b/synapse/http/matrixfederationclient.py @@ -133,7 +133,7 @@ class MatrixFederationHttpClient(object): failures, connection failures, SSL failures.) """ if ( - self.hs.config.federation_domain_whitelist and + self.hs.config.federation_domain_whitelist is not None and destination not in self.hs.config.federation_domain_whitelist ): raise FederationDeniedError(destination) |