mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
fix(jid): Fix JID serialization with serde; address oversight in commit cdf4486e
This commit is contained in:
parent
2ad0dd66dd
commit
997303900b
1 changed files with 2 additions and 2 deletions
|
@ -325,7 +325,7 @@ impl Serialize for FullJid {
|
|||
where
|
||||
S: Serializer,
|
||||
{
|
||||
serializer.serialize_str(String::from(self).as_str())
|
||||
serializer.serialize_str(&self.inner.normalized)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -335,7 +335,7 @@ impl Serialize for BareJid {
|
|||
where
|
||||
S: Serializer,
|
||||
{
|
||||
serializer.serialize_str(String::from(self).as_str())
|
||||
serializer.serialize_str(&self.inner.normalized)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue