|
|
|
@ -101,7 +101,7 @@ class FederationReaderServer(HomeServer): |
|
|
|
|
|
|
|
|
|
root_resource = create_resource_tree(resources, Resource()) |
|
|
|
|
|
|
|
|
|
if bind_address: |
|
|
|
|
if bind_address is not None: |
|
|
|
|
bind_addresses.append(bind_address) |
|
|
|
|
|
|
|
|
|
for address in bind_addresses: |
|
|
|
@ -126,7 +126,7 @@ class FederationReaderServer(HomeServer): |
|
|
|
|
bind_address = listener.get("bind_address", None) |
|
|
|
|
bind_addresses = listener.get("bind_addresses", []) |
|
|
|
|
|
|
|
|
|
if bind_address: |
|
|
|
|
if bind_address is not None: |
|
|
|
|
bind_addresses.append(bind_address) |
|
|
|
|
|
|
|
|
|
for address in bind_addresses: |
|
|
|
|