summary refs log tree commit diff
path: root/synapse/federation/transport
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-11-11 16:46:09 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-11-11 16:46:09 +0000
commit5e18dc7955180086870013b55bf5ae326fa6c695 (patch)
tree9396be636de53d7053636da33c146b94c88c6c35 /synapse/federation/transport
parentAdd server-side support to the v2 API (diff)
downloadsynapse-5e18dc7955180086870013b55bf5ae326fa6c695.tar.xz
Fix prefix for v2/send_leave
Diffstat (limited to 'synapse/federation/transport')
-rw-r--r--synapse/federation/transport/server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index 5263e292c1..551a162eb7 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -517,6 +517,8 @@ class FederationV1SendLeaveServlet(BaseFederationServlet):
 class FederationV2SendLeaveServlet(BaseFederationServlet):
     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):
         content = await self.handler.on_send_leave_request(origin, content, room_id)
         return 200, content