data_forms, ibr, message, presence, roster: Always use into_iter.
This commit is contained in:
parent
f6f6faeb77
commit
5df585ca40
5 changed files with 7 additions and 7 deletions
|
|
@ -321,7 +321,7 @@ impl From<Presence> for Element {
|
|||
.attr("id", presence.id)
|
||||
.attr("type", presence.type_)
|
||||
.append(presence.show)
|
||||
.append(presence.statuses.iter().map(|(lang, status)| {
|
||||
.append(presence.statuses.into_iter().map(|(lang, status)| {
|
||||
Element::builder("status")
|
||||
.attr("xml:lang", match lang.as_ref() {
|
||||
"" => None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue