jingle_ft: Correctly insert <range/> in <file/>.
This commit is contained in:
parent
655fc9ae68
commit
fb27b6225c
1 changed files with 1 additions and 4 deletions
|
@ -166,10 +166,7 @@ impl From<File> for Element {
|
|||
.build());
|
||||
}
|
||||
if let Some(range) = file.range {
|
||||
root.append_child(Element::builder("range")
|
||||
.ns(ns::JINGLE_FT)
|
||||
.append(range)
|
||||
.build());
|
||||
root.append_child(range.into());
|
||||
}
|
||||
for hash in file.hashes {
|
||||
root.append_child(hash.into());
|
||||
|
|
Loading…
Reference in a new issue