# HG changeset patch # User Matthew Wild # Date 1266366390 0 # Node ID 9c10ff584e87c890dbadfcdf60acabcf60d776e8 # Parent abccad4b8559a431ba6c81e2347bc8138a19aad0 verse.client: Add missing version to stream header (thanks Bill Clark) diff -r abccad4b8559 -r 9c10ff584e87 client.lua --- 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)