From fea915daf1a2f47ee6244761d5def08958dca610 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 4 Aug 2024 21:38:25 +0200 Subject: [PATCH] xmpp-parsers: Make MAM metadata children pub This had been forgotten when I converted it to xso. --- parsers/src/mam.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsers/src/mam.rs b/parsers/src/mam.rs index 14243f0a..82b02ef9 100644 --- a/parsers/src/mam.rs +++ b/parsers/src/mam.rs @@ -204,11 +204,11 @@ impl IqGetPayload for MetadataQuery {} pub struct MetadataResponse { /// Metadata about the first message in the archive. #[xml(child(default))] - start: Option, + pub start: Option, /// Metadata about the last message in the archive. #[xml(child(default))] - end: Option, + pub end: Option, } impl IqResultPayload for MetadataResponse {}