fix presence serialization name

This commit is contained in:
R T 2025-04-05 17:26:33 +00:00 committed by pep
commit fd97f9f31c

View file

@ -154,7 +154,7 @@ pub struct Presence {
pub id: Option<String>,
/// The type of this presence stanza.
#[xml(attribute(default))]
#[xml(attribute(default, name = "type"))]
pub type_: Type,
/// The xml:lang of this presence stanza.