ibb: Fix serialisation of <data/> data.
This commit is contained in:
parent
5e4ba2701b
commit
846148d618
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ pub fn serialise(ibb: &IBB) -> Element {
|
|||
.ns(ns::IBB)
|
||||
.attr("seq", format!("{}", seq))
|
||||
.attr("sid", sid.to_owned())
|
||||
.attr("data", base64::encode(&data))
|
||||
.append(base64::encode(&data))
|
||||
.build()
|
||||
},
|
||||
IBB::Close { ref sid } => {
|
||||
|
|
Loading…
Reference in a new issue