mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 05:14:56 -04:00
Add type hints to the federation handler and server. (#9743)
This commit is contained in:
parent
e7b769aea1
commit
d959d28730
4 changed files with 97 additions and 95 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue