federation-api: Fix send_leave version in path

This commit is contained in:
Jonathan de Jong 2022-04-03 16:07:51 +02:00 committed by GitHub
parent 558cd06062
commit 8351076845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ ruma_api! {
description: "Submits a signed leave event to the receiving server for it to accept it into the room's graph.", description: "Submits a signed leave event to the receiving server for it to accept it into the room's graph.",
name: "create_leave_event", name: "create_leave_event",
method: PUT, method: PUT,
stable_path: "/_matrix/federation/v1/send_leave/:room_id/:event_id", stable_path: "/_matrix/federation/v2/send_leave/:room_id/:event_id",
rate_limited: false, rate_limited: false,
authentication: ServerSignatures, authentication: ServerSignatures,
added: 1.0, added: 1.0,