mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Fix prefix for v2/send_leave
This commit is contained in:
parent
74897de01f
commit
5e18dc7955
@ -517,6 +517,8 @@ class FederationV1SendLeaveServlet(BaseFederationServlet):
|
|||||||
class FederationV2SendLeaveServlet(BaseFederationServlet):
|
class FederationV2SendLeaveServlet(BaseFederationServlet):
|
||||||
PATH = "/send_leave/(?P<room_id>[^/]*)/(?P<event_id>[^/]*)"
|
PATH = "/send_leave/(?P<room_id>[^/]*)/(?P<event_id>[^/]*)"
|
||||||
|
|
||||||
|
PREFIX = FEDERATION_V2_PREFIX
|
||||||
|
|
||||||
async def on_PUT(self, origin, content, query, room_id, event_id):
|
async def on_PUT(self, origin, content, query, room_id, event_id):
|
||||||
content = await self.handler.on_send_leave_request(origin, content, room_id)
|
content = await self.handler.on_send_leave_request(origin, content, room_id)
|
||||||
return 200, content
|
return 200, content
|
||||||
|
Loading…
Reference in New Issue
Block a user