summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-30 12:14:50 +0000
committerErik Johnston <erik@matrix.org>2019-01-30 12:14:50 +0000
commit270f212a2a89712e78ff2ff4922c2f99285d65dc (patch)
tree5fb263e7720730ead083c33bebc4cfa91edb4a3d /synapse/app
parentMerge pull request #4521 from matrix-org/rav/fed_routing/cleanups (diff)
downloadsynapse-270f212a2a89712e78ff2ff4922c2f99285d65dc.tar.xz
_listener_http should return a list
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index 019b91576f..d5f5ff9599 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -95,7 +95,7 @@ class SynapseHomeServer(HomeServer):
         site_tag = listener_config.get("tag", port)
 
         if tls and config.no_tls:
-            return
+            return []
 
         resources = {}
         for res in listener_config["resources"]: