From 7a91f5d8eab3d2544031bac333f114ffd82de3dd Mon Sep 17 00:00:00 2001 From: Matt Goodall Date: Mon, 9 Jul 2012 02:51:16 +0100 Subject: [PATCH] Send stream's version='1.0' attr. --- src/xmpp/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xmpp/client.go b/src/xmpp/client.go index a65c0d3..4465425 100644 --- a/src/xmpp/client.go +++ b/src/xmpp/client.go @@ -81,6 +81,7 @@ func startClient(stream *Stream, jid JID) error { xml.Attr{xml.Name{"xmlns", "stream"}, "http://etherx.jabber.org/streams"}, xml.Attr{xml.Name{"", "from"}, jid.Full()}, xml.Attr{xml.Name{"", "to"}, jid.Domain}, + xml.Attr{xml.Name{"", "version"}, "1.0"}, }, }