federation-api: Make pdus of transactions optional under unstable-pre-spec
This commit is contained in:
parent
724a48d616
commit
5a65634a28
@ -35,6 +35,7 @@ ruma_api! {
|
|||||||
/// List of persistent updates to rooms.
|
/// List of persistent updates to rooms.
|
||||||
///
|
///
|
||||||
/// Must not be more than 50 items.
|
/// 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>],
|
pub pdus: &'a [Raw<Pdu>],
|
||||||
|
|
||||||
/// List of ephemeral messages.
|
/// List of ephemeral messages.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user