add unspecced r0 routes to more key endpoints

may solve https://github.com/element-hq/element-ios/issues/5974
on conduwuit

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-10-28 16:38:00 -04:00
parent 39c1addd37
commit dd8b13ed2f
No known key found for this signature in database
3 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ pub mod v3 {
authentication: AccessToken, authentication: AccessToken,
history: { history: {
unstable => "/_matrix/client/unstable/room_keys/version", unstable => "/_matrix/client/unstable/room_keys/version",
1.0 => "/_matrix/client/r0/room_keys/version",
1.1 => "/_matrix/client/v3/room_keys/version", 1.1 => "/_matrix/client/v3/room_keys/version",
} }
}; };

View File

@ -25,6 +25,7 @@ pub mod v3 {
authentication: AccessToken, authentication: AccessToken,
history: { history: {
unstable => "/_matrix/client/unstable/room_keys/version/:version", unstable => "/_matrix/client/unstable/room_keys/version/:version",
1.0 => "/_matrix/client/r0/room_keys/version/:version",
1.1 => "/_matrix/client/v3/room_keys/version/:version", 1.1 => "/_matrix/client/v3/room_keys/version/:version",
} }
}; };

View File

@ -21,6 +21,7 @@ pub mod v3 {
authentication: AccessToken, authentication: AccessToken,
history: { history: {
unstable => "/_matrix/client/unstable/room_keys/version/:version", unstable => "/_matrix/client/unstable/room_keys/version/:version",
1.0 => "/_matrix/client/r0/room_keys/version/:version",
1.1 => "/_matrix/client/v3/room_keys/version/:version", 1.1 => "/_matrix/client/v3/room_keys/version/:version",
} }
}; };