diff options
Diffstat (limited to 'stanza/src/stream.rs')
-rw-r--r-- | stanza/src/stream.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stanza/src/stream.rs b/stanza/src/stream.rs index 732a826..eb07999 100644 --- a/stanza/src/stream.rs +++ b/stanza/src/stream.rs @@ -59,7 +59,7 @@ impl IntoElement for Stream { .push_attribute_opt("from", self.from.clone()) .push_attribute_opt("id", self.id.clone()) .push_attribute_opt("version", self.version.clone()) - .push_attribute_opt_namespaced(peanuts::XML_NS, "to", self.lang.clone()) + .push_attribute_opt_namespaced(peanuts::XML_NS, "lang", self.lang.clone()) } } |