Mercurial > eldonilo > lightstring
comparison lightstring.js @ 60:0e86fca6a596
oops
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Wed, 01 Feb 2012 17:48:11 +0100 |
parents | bbcc6bbdac73 |
children | b1e75cdbb0ad |
comparison
equal
deleted
inserted
replaced
59:bbcc6bbdac73 | 60:0e86fca6a596 |
---|---|
158 this.send( | 158 this.send( |
159 bind, | 159 bind, |
160 //Success | 160 //Success |
161 function(stanza) { | 161 function(stanza) { |
162 //Session http://xmpp.org/rfcs/rfc3921.html#session | 162 //Session http://xmpp.org/rfcs/rfc3921.html#session |
163 alert('iq callback!!!'); | |
164 this.jid = new Lightstring.JID(stanza.DOM.textContent); | 163 this.jid = new Lightstring.JID(stanza.DOM.textContent); |
165 that.send( | 164 that.send( |
166 "<iq type='set' id='"+Lightstring.newId('sendiq:')+"' xmlns='jabber:client'>" + | 165 "<iq type='set' id='"+Lightstring.newId('sendiq:')+"' xmlns='jabber:client'>" + |
167 "<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>" + | 166 "<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>" + |
168 "</iq>", | 167 "</iq>", |