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
|
where
|
||||||
S: Serializer,
|
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
|
where
|
||||||
S: Serializer,
|
S: Serializer,
|
||||||
{
|
{
|
||||||
serializer.serialize_str(String::from(self).as_str())
|
serializer.serialize_str(&self.inner.normalized)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue