fix presence serialization name
This commit is contained in:
parent
7faa6dc15b
commit
fd97f9f31c
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue