aboutsummaryrefslogtreecommitdiffstats
path: root/stanza/src/stream.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-04-13 15:02:41 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2025-04-13 15:02:41 +0100
commit8261d1bfe46b532fd926afb46702a5443552f2a8 (patch)
tree8f523e0ef3ff4575ef264c97dd824c95ce3440cf /stanza/src/stream.rs
parent986350b3fb786c1530a3fef199b6d51c536b1188 (diff)
downloadluz-8261d1bfe46b532fd926afb46702a5443552f2a8.tar.gz
luz-8261d1bfe46b532fd926afb46702a5443552f2a8.tar.bz2
luz-8261d1bfe46b532fd926afb46702a5443552f2a8.zip
feat(stanza): rfc 7395
Diffstat (limited to 'stanza/src/stream.rs')
-rw-r--r--stanza/src/stream.rs2
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())
}
}