Skip to content

Commit a1e115b

Browse files
authored
fix: update sendLeave endpoint to use v2 API version (#324)
1 parent 1890741 commit a1e115b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/federation-sdk/src/specs/federation-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const FederationEndpoints = {
5252
makeLeave: (roomId: string, userId: string) =>
5353
`/_matrix/federation/v1/make_leave/${roomId}/${userId}`,
5454
sendLeave: (roomId: string, eventId: string) =>
55-
`/_matrix/federation/v1/send_leave/${roomId}/${eventId}`,
55+
`/_matrix/federation/v2/send_leave/${roomId}/${eventId}`,
5656
invite: (roomId: string, eventId: string) =>
5757
`/_matrix/federation/v1/invite/${roomId}/${eventId}`,
5858
inviteV2: (roomId: string, eventId: string) =>

0 commit comments

Comments
 (0)