equal
deleted
inserted
replaced
121 // events and responds to them. |
121 // events and responds to them. |
122 clIn := cl.startStreamReader(xmlIn, cl.xmlOut) |
122 clIn := cl.startStreamReader(xmlIn, cl.xmlOut) |
123 clOut := startStreamWriter(cl.xmlOut) |
123 clOut := startStreamWriter(cl.xmlOut) |
124 |
124 |
125 // Initial handshake. |
125 // Initial handshake. |
126 hsOut := &Stream{To: jid.Domain, Version: Version} |
126 hsOut := &stream{To: jid.Domain, Version: Version} |
127 cl.xmlOut <- hsOut |
127 cl.xmlOut <- hsOut |
128 |
128 |
129 cl.In = clIn |
129 cl.In = clIn |
130 cl.Out = clOut |
130 cl.Out = clOut |
131 cl.TextOut = textOut |
131 cl.TextOut = textOut |