diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-04-06 07:21:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 07:21:57 -0400 |
commit | d959d28730ec6a0765ab72b10bcc96b1507233ac (patch) | |
tree | c3623edbf657acabff377549416f9d7d53a2e836 /synapse/federation/transport | |
parent | Convert storage test cases to HomeserverTestCase. (#9736) (diff) | |
download | synapse-d959d28730ec6a0765ab72b10bcc96b1507233ac.tar.xz |
Add type hints to the federation handler and server. (#9743)
Diffstat (limited to 'synapse/federation/transport')
-rw-r--r-- | synapse/federation/transport/server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index 84e39c5a46..5ef0556ef7 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -620,8 +620,8 @@ class FederationThirdPartyInviteExchangeServlet(BaseFederationServlet): PATH = "/exchange_third_party_invite/(?P<room_id>[^/]*)" async def on_PUT(self, origin, content, query, room_id): - content = await self.handler.on_exchange_third_party_invite_request(content) - return 200, content + await self.handler.on_exchange_third_party_invite_request(content) + return 200, {} class FederationClientKeysQueryServlet(BaseFederationServlet): |