Add #[ruma_api(body)] attr to get_room_event endpoint
This commit is contained in:
parent
202af7a523
commit
87fb2c1e00
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
|
* Fix deserialization of `r0::room::get_room_event::Response`
|
||||||
* More missing fields in `r0::sync::sync_events::Response` can be deserialized
|
* More missing fields in `r0::sync::sync_events::Response` can be deserialized
|
||||||
|
|
||||||
Breaking changes:
|
Breaking changes:
|
||||||
|
@ -26,6 +26,7 @@ ruma_api! {
|
|||||||
|
|
||||||
response {
|
response {
|
||||||
/// Arbitrary JSON of the event body. Returns both room and state events.
|
/// Arbitrary JSON of the event body. Returns both room and state events.
|
||||||
|
#[ruma_api(body)]
|
||||||
pub event: EventJson<AnyRoomEvent>,
|
pub event: EventJson<AnyRoomEvent>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user