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
|
|
@ -298,8 +298,8 @@ impl From<Jingle> for Element {
|
|||
Element::builder("jingle")
|
||||
.ns(ns::JINGLE)
|
||||
.attr("action", jingle.action)
|
||||
.attr("initiator", match jingle.initiator { Some(initiator) => Some(String::from(initiator)), None => None })
|
||||
.attr("responder", match jingle.responder { Some(responder) => Some(String::from(responder)), None => None })
|
||||
.attr("initiator", jingle.initiator)
|
||||
.attr("responder", jingle.responder)
|
||||
.attr("sid", jingle.sid)
|
||||
.append(jingle.contents)
|
||||
.append(jingle.reason)
|
||||
|
|
|
|||
Loading…
Reference in a new issue