xmpp-parsers: Make Priority’s inner i8 pub

Link Mauve created

We forgot to make it pub before, but should have.

This was a regression from 893a2f8e47e8aabdec0797994f160423860b68db,
when we converted it to xso.

Fixes #166.

Change summary

parsers/ChangeLog       | 3 +++
parsers/src/presence.rs | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)

Detailed changes

parsers/ChangeLog 🔗

@@ -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>

parsers/src/presence.rs 🔗

@@ -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)]