xmpp-parsers: Make Priority’s inner i8 pub

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

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

Fixes #166.
This commit is contained in:
Link Mauve 2025-12-25 01:07:35 +01:00
commit f1e5ac6ac8
2 changed files with 4 additions and 1 deletions

View file

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