simple-xmpp / node-simple-xmpp

Simple High Level NodeJS XMPP Client
301 stars 90 forks source link

fix for issue #25 #26

Closed pathsny closed 11 years ago

pathsny commented 11 years ago

xmpp = require("simple-xmpp") xmpp.connect {jid: , password: , host: "talk.google.com", port: 5222)

TypeError: Cannot read property 'attrs' of undefined at Client. (/node_modules/simple-xmpp/lib/simple-xmpp.js:281:45) at Client.EventEmitter.emit (events.js:95:17) at Client.onRawStanza (/node_modules/simple-xmpp/node_modules/node-xmpp/lib/xmpp/client.js:159:14)

pathsny commented 11 years ago

error packet name: 'iq', parent: null, attrs: { to: 'misakabot@gmail.com/999B457F', type: 'error', id: 'disco1', from: 'abhinav@abhinavsarkar.net/Digsby62CE5502', 'xmlns:stream': 'http://etherx.jabber.org/streams' }, children: [ { name: 'query', parent: [Circular], attrs: [Object], children: [] }, { name: 'error', parent: [Circular], attrs: [Object], children: [Object] } ] }

silverbucket commented 11 years ago

thanks for the patch @pathsny merging now