diff lightstring.js @ 9:24bc40461b2c

better README
author Sonny Piers <sonny.piers@gmail.com>
date Sun, 15 Jan 2012 02:15:23 +0100
parents b7a582a2b32c
children 9fbd0e3678b5
line wrap: on
line diff
--- a/lightstring.js
+++ b/lightstring.js
@@ -73,6 +73,12 @@ Lightstring.Connection = function (aServ
                         xmlns='jabber:client'\
                         xmlns:stream='http://etherx.jabber.org/streams'\
                         version='1.0'/>";
+      //FIXME should be this but doesn't works with node-xmpp-bosh
+      //~ var stream =
+      //~   "<stream:stream to='"+that.domain+"'\
+                        xmlns='jabber:client'\
+                        xmlns:stream='http://etherx.jabber.org/streams'\
+                        version='1.0'/>";
       that.socket.send(stream)
       that.emit('XMLOutput', stream);
     });