Re-apply "federation-api: Make pdus of transactions optional under unstable-pre-spec
"
This reverts commit cf7718107267eb65cc2b87a60dd343ce46fd70c1.
This commit is contained in:
parent
ae6595339c
commit
e1d621ebd0
@ -35,6 +35,7 @@ ruma_api! {
|
||||
/// List of persistent updates to rooms.
|
||||
///
|
||||
/// Must not be more than 50 items.
|
||||
#[cfg_attr(feature = "unstable-pre-spec", serde(default, skip_serializing_if = "<[_]>::is_empty"))]
|
||||
pub pdus: &'a [Raw<Pdu>],
|
||||
|
||||
/// List of ephemeral messages.
|
||||
|
Loading…
x
Reference in New Issue
Block a user