Mercurial > eldonilo > lightstring
diff 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 |
line wrap: on
line diff
old mode 100644 new mode 100755 --- a/plugins/PLAIN.js +++ b/plugins/PLAIN.js @@ -66,7 +66,7 @@ Lightstring.plugins['PLAIN'] = { //Success function(stanza) { //Session http://xmpp.org/rfcs/rfc3921.html#session - Conn.jid = new Lightstring.JID(stanza.DOM.textContent); + Conn.jid = new Lightstring.JID(stanza.el.textContent); Conn.send( "<iq type='set' id='"+Lightstring.newId('sendiq:')+"'>" + "<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>" +