comparison plugins/PLAIN.js @ 106:c06ec02217ee

many changes
author Sonny Piers <sonny@fastmail.net>
date Tue, 26 Jun 2012 12:02:14 +0200
parents e1ccfb580228
children 5cb4733c5189
comparison
equal deleted inserted replaced
105:fb50311997b5 106:c06ec02217ee
64 this.send( 64 this.send(
65 bind, 65 bind,
66 //Success 66 //Success
67 function(stanza) { 67 function(stanza) {
68 //Session http://xmpp.org/rfcs/rfc3921.html#session 68 //Session http://xmpp.org/rfcs/rfc3921.html#session
69 Conn.jid = new Lightstring.JID(stanza.DOM.textContent); 69 Conn.jid = new Lightstring.JID(stanza.el.textContent);
70 Conn.send( 70 Conn.send(
71 "<iq type='set' id='"+Lightstring.newId('sendiq:')+"'>" + 71 "<iq type='set' id='"+Lightstring.newId('sendiq:')+"'>" +
72 "<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>" + 72 "<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>" +
73 "</iq>", 73 "</iq>",
74 function() { 74 function() {