diff --git a/ruma-federation-api/src/event/get_missing_events/v1.rs b/ruma-federation-api/src/event/get_missing_events/v1.rs index 08140a1b..69b2929b 100644 --- a/ruma-federation-api/src/event/get_missing_events/v1.rs +++ b/ruma-federation-api/src/event/get_missing_events/v1.rs @@ -2,6 +2,7 @@ use js_int::{uint, UInt}; use ruma_api::ruma_api; +use ruma_common::Raw; use ruma_events::pdu::Pdu; use ruma_identifiers::{EventId, RoomId}; @@ -38,7 +39,7 @@ ruma_api! { #[derive(Default)] response: { /// The missing PDUs. - pub events: Vec + pub events: Vec> } } @@ -61,7 +62,7 @@ impl<'a> Request<'a> { impl Response { /// Creates a new `Response` with the given events. - pub fn new(events: Vec) -> Self { + pub fn new(events: Vec>) -> Self { Self { events } } }