Update to jid-rs 0.2.3, which implements IntoAttributeValue on Jid.
This commit is contained in:
parent
d55fa8e5dd
commit
99b9525e6f
12 changed files with 21 additions and 21 deletions
|
|
@ -74,7 +74,7 @@ impl From<Item> for Element {
|
|||
fn from(item: Item) -> Element {
|
||||
Element::builder("item")
|
||||
.ns(ns::ROSTER)
|
||||
.attr("jid", String::from(item.jid))
|
||||
.attr("jid", item.jid)
|
||||
.attr("name", item.name)
|
||||
.attr("subscription", item.subscription)
|
||||
.append(item.groups)
|
||||
|
|
|
|||
Loading…
Reference in a new issue