Software /
code /
verse
Diff
client.lua @ 49:9c10ff584e87
verse.client: Add missing version to stream header (thanks Bill Clark)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 17 Feb 2010 00:26:30 +0000 |
parent | 48:abccad4b8559 |
child | 50:432ac110544f |
line wrap: on
line diff
--- 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)