Thu, 16 Mar 2023 11:43:16 +0000
client: Include xml:lang in stream header, if known
client.lua | file | annotate | diff | comparison | revisions |
--- a/client.lua Thu Mar 16 11:42:58 2023 +0000 +++ b/client.lua Thu Mar 16 11:43:16 2023 +0000 @@ -222,7 +222,7 @@ function stream:reopen() self:reset(); self:send(st.stanza("stream:stream", { to = self.host, ["xmlns:stream"]='http://etherx.jabber.org/streams', - xmlns = "jabber:client", version = "1.0" }):top_tag()); + xmlns = "jabber:client", version = "1.0", ["xml:lang"] = self.lang }):top_tag()); end function stream:send_iq(iq, callback)