ecaps2, forwarding, jingle_s5b, mam: Replace complex into expressions with .map(Element::from).
This commit is contained in:
parent
487dbdc6de
commit
cc563b46d2
4 changed files with 8 additions and 8 deletions
|
|
@ -167,8 +167,8 @@ impl From<Query> for Element {
|
|||
.ns(ns::MAM)
|
||||
.attr("queryid", query.queryid)
|
||||
.attr("node", query.node)
|
||||
//.append(query.form.map(|form| -> Element { form.into() }))
|
||||
.append(query.set.map(|set| -> Element { set.into() }))
|
||||
//.append(query.form.map(Element::from))
|
||||
.append(query.set.map(Element::from))
|
||||
.build()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue