client-api: Fix missing stable endpoint paths

This commit is contained in:
Jonas Platte 2022-04-21 18:37:19 +02:00
parent eae7fa0a7d
commit a5f1c9145c
No known key found for this signature in database
GPG Key ID: BBA95679259D342F
2 changed files with 8 additions and 2 deletions

View File

@ -100,7 +100,10 @@ pub mod v3 {
"/_matrix/client/r0/rooms/{}/state/{}", "/_matrix/client/r0/rooms/{}/state/{}",
room_id_percent, event_type_percent room_id_percent, event_type_percent
)), )),
None, Some(format_args!(
"/_matrix/client/v3/rooms/{}/state/{}",
room_id_percent, event_type_percent
)),
)? )?
); );

View File

@ -128,7 +128,10 @@ pub mod v3 {
"/_matrix/client/r0/rooms/{}/state/{}", "/_matrix/client/r0/rooms/{}/state/{}",
room_id_percent, event_type_percent room_id_percent, event_type_percent
)), )),
None, Some(format_args!(
"/_matrix/client/v3/rooms/{}/state/{}",
room_id_percent, event_type_percent
)),
)? )?
); );