From 8261d1bfe46b532fd926afb46702a5443552f2a8 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Sun, 13 Apr 2025 15:02:41 +0100 Subject: feat(stanza): rfc 7395 --- stanza/src/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stanza/src/stream.rs') 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()) } } -- cgit