We forgot to make it pub before, but should have.
This was a regression from 893a2f8e47e8aabdec0797994f160423860b68db,
when we converted it to xso.
Fixes #166.
@@ -4,6 +4,9 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
- The type of jingle_rtp::Description::ssrc has been changed from
Option<String> to Option<u32>, in accordance with XEP-0167 version
1.2.3 and RFC 3550. (!602)
+ * Improvements:
+ - Make Priority’s inner i8 pub, which had been broken since the
+ conversion to xso. (!632)
Version 0.22.0:
2025-10-28 pep <pep@bouah.net>
@@ -64,7 +64,7 @@ type Status = String;
/// messages addressed to the bare JID.
#[derive(FromXml, AsXml, Debug, Default, Clone, PartialEq)]
#[xml(namespace = ns::DEFAULT_NS, name = "priority")]
-pub struct Priority(#[xml(text)] i8);
+pub struct Priority(#[xml(text)] pub i8);
/// Accepted values for the 'type' attribute of a presence.
#[derive(Debug, Default, Clone, PartialEq)]