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
|
|
@ -177,7 +177,7 @@ impl From<StanzaError> for Element {
|
|||
let mut root = Element::builder("error")
|
||||
.ns(ns::JABBER_CLIENT)
|
||||
.attr("type", err.type_)
|
||||
.attr("by", err.by.map(String::from))
|
||||
.attr("by", err.by)
|
||||
.append(err.defined_condition)
|
||||
.build();
|
||||
for (lang, text) in err.texts {
|
||||
|
|
|
|||
Loading…
Reference in a new issue