diff options
author | Erik Johnston <erik@matrix.org> | 2020-01-30 16:42:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 16:42:11 +0000 |
commit | c3d4ad8afdbe181707451410100dec4817c2c01a (patch) | |
tree | 0aa1cb23234419e1857918f2c8e5edb75949b9cf /synapse/federation/transport/client.py | |
parent | When server leaves room check for stale device lists. (#6801) (diff) | |
download | synapse-c3d4ad8afdbe181707451410100dec4817c2c01a.tar.xz |
Fix sending server up commands from workers (#6811)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Diffstat (limited to 'synapse/federation/transport/client.py')
-rw-r--r-- | synapse/federation/transport/client.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index 198257414b..dc563538de 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -15,6 +15,7 @@ # limitations under the License. import logging +from typing import Any, Dict from six.moves import urllib @@ -352,7 +353,9 @@ class TransportLayerClient(object): else: path = _create_v1_path("/publicRooms") - args = {"include_all_networks": "true" if include_all_networks else "false"} + args = { + "include_all_networks": "true" if include_all_networks else "false" + } # type: Dict[str, Any] if third_party_instance_id: args["third_party_instance_id"] = (third_party_instance_id,) if limit: |