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:
parent
8c2b1df7f7
commit
f1e5ac6ac8
2 changed files with 4 additions and 1 deletions
|
|
@ -4,6 +4,9 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
|
||||||
- The type of jingle_rtp::Description::ssrc has been changed from
|
- The type of jingle_rtp::Description::ssrc has been changed from
|
||||||
Option<String> to Option<u32>, in accordance with XEP-0167 version
|
Option<String> to Option<u32>, in accordance with XEP-0167 version
|
||||||
1.2.3 and RFC 3550. (!602)
|
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:
|
Version 0.22.0:
|
||||||
2025-10-28 pep <pep@bouah.net>
|
2025-10-28 pep <pep@bouah.net>
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ type Status = String;
|
||||||
/// messages addressed to the bare JID.
|
/// messages addressed to the bare JID.
|
||||||
#[derive(FromXml, AsXml, Debug, Default, Clone, PartialEq)]
|
#[derive(FromXml, AsXml, Debug, Default, Clone, PartialEq)]
|
||||||
#[xml(namespace = ns::DEFAULT_NS, name = "priority")]
|
#[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.
|
/// Accepted values for the 'type' attribute of a presence.
|
||||||
#[derive(Debug, Default, Clone, PartialEq)]
|
#[derive(Debug, Default, Clone, PartialEq)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue