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

Commit 7e030a2

Browse files
committed
Do not use return type of on_exchange_third_party_invite_request.
1 parent 3c73dc8 commit 7e030a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synapse/federation/transport/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ class FederationThirdPartyInviteExchangeServlet(BaseFederationServlet):
620620
PATH = "/exchange_third_party_invite/(?P<room_id>[^/]*)"
621621

622622
async def on_PUT(self, origin, content, query, room_id):
623-
content = await self.handler.on_exchange_third_party_invite_request(content)
624-
return 200, content
623+
await self.handler.on_exchange_third_party_invite_request(content)
624+
return 200, {}
625625

626626

627627
class FederationClientKeysQueryServlet(BaseFederationServlet):

0 commit comments

Comments
 (0)