Wed, 17 Feb 2010 00:26:30 +0000
verse.client: Add missing version to stream header (thanks Bill Clark)
client.lua | file | annotate | diff | comparison | revisions |
--- a/client.lua Wed Feb 17 00:24:54 2010 +0000 +++ b/client.lua Wed Feb 17 00:26:30 2010 +0000 @@ -102,7 +102,8 @@ function stream:reopen() reset_stream(self); - self:send(st.stanza("stream:stream", { to = self.host, ["xmlns:stream"]='http://etherx.jabber.org/streams', xmlns = "jabber:client" }):top_tag()); + self:send(st.stanza("stream:stream", { to = self.host, ["xmlns:stream"]='http://etherx.jabber.org/streams', + xmlns = "jabber:client", version = "1.0" }):top_tag()); end function stream:close(reason)