Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Do not use return type of on_exchange_third_party_invite_request.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Apr 5, 2021
1 parent 3c73dc8 commit 7e030a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/federation/transport/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7e030a2

Please sign in to comment.