xmpp-parsers: Make MAM metadata children pub

This had been forgotten when I converted it to xso.
This commit is contained in:
Emmanuel Gil Peyrot 2024-08-04 21:38:25 +02:00 committed by Jonas Schäfer
parent e1da3410ba
commit fea915daf1

View file

@ -204,11 +204,11 @@ impl IqGetPayload for MetadataQuery {}
pub struct MetadataResponse { pub struct MetadataResponse {
/// Metadata about the first message in the archive. /// Metadata about the first message in the archive.
#[xml(child(default))] #[xml(child(default))]
start: Option<Start>, pub start: Option<Start>,
/// Metadata about the last message in the archive. /// Metadata about the last message in the archive.
#[xml(child(default))] #[xml(child(default))]
end: Option<End>, pub end: Option<End>,
} }
impl IqResultPayload for MetadataResponse {} impl IqResultPayload for MetadataResponse {}