Send stream's version='1.0' attr.

This commit is contained in:
Matt Goodall 2012-07-09 02:51:16 +01:00
parent e2c05fea94
commit 7a91f5d8ea
1 changed files with 1 additions and 0 deletions

View File

@ -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"},
},
}