Update to jid-rs 0.2.3, which implements IntoAttributeValue on Jid.

This commit is contained in:
Emmanuel Gil Peyrot 2017-07-29 06:28:20 +01:00
commit 99b9525e6f
12 changed files with 21 additions and 21 deletions

View file

@ -41,7 +41,7 @@ impl From<StanzaId> for Element {
Element::builder("stanza-id")
.ns(ns::SID)
.attr("id", stanza_id.id)
.attr("by", String::from(stanza_id.by))
.attr("by", stanza_id.by)
.build()
}
}