Implement listen_tcp method in remaining workers

Signed-off-by: Silke <silke@slxh.eu>
This commit is contained in:
Silke 2017-12-17 14:15:30 +01:00
parent 26cd3f5690
commit df0f602796
10 changed files with 155 additions and 192 deletions

View file

@ -228,10 +228,8 @@ class SynapseHomeServer(HomeServer):
if listener["type"] == "http":
self._listener_http(config, listener)
elif listener["type"] == "manhole":
bind_addresses = listener["bind_addresses"]
listen_tcp(
bind_addresses,
listener["bind_addresses"],
listener["port"],
manhole(
username="matrix",