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
|
|
@ -49,7 +49,7 @@ impl From<Delay> for Element {
|
|||
fn from(delay: Delay) -> Element {
|
||||
Element::builder("delay")
|
||||
.ns(ns::DELAY)
|
||||
.attr("from", delay.from.map(String::from))
|
||||
.attr("from", delay.from)
|
||||
.attr("stamp", delay.stamp.to_rfc3339())
|
||||
.append(delay.data)
|
||||
.build()
|
||||
|
|
|
|||
Loading…
Reference in a new issue