Commit 81ab54a4 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added version=1.0 to stream headers.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3926 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4dbd2557
......@@ -97,7 +97,7 @@ public class ConnectionMultiplexerSession extends Session {
sb.append("xmlns:stream=\"http://etherx.jabber.org/streams\" ");
sb.append("xmlns=\"jabber:connectionmanager\" from=\"");
sb.append(domain);
sb.append("\">");
sb.append("\" version=\"1.0\">");
// Check that a domain was provided in the stream header
if (domain == null) {
......@@ -177,7 +177,7 @@ public class ConnectionMultiplexerSession extends Session {
sb.append(domain);
sb.append("\" id=\"");
sb.append(session.getStreamID().toString());
sb.append("\">");
sb.append("\" version=\"1.0\" >");
writer.write(sb.toString());
writer.flush();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment