mscdex / node-oscar

An OSCAR protocol client module for node.js
MIT License
54 stars 16 forks source link

oscar/oscar.js:2214 TypeError: Object.keys called on non-object #14

Open CryptexDHT opened 10 years ago

CryptexDHT commented 10 years ago

Please help

oscar/oscar.js:2214
for (var i=0,groups=Object.keys(items[0x01]),len=groups.length,gro

TypeError: Object.keys called on non-object
at Function.keys (native)
at OscarConnection._parseSNAC (app/node_modules/oscar/oscar.js:2214:40)
at Socket.data_handler (app/node_modules/oscar/oscar.js:746:14)
at Socket.<anonymous> (app/node_modules/oscar/oscar.js:872:72)
at Socket.EventEmitter.emit (events.js:95:17)
at Socket.<anonymous> (_stream_readable.js:746:14)
at Socket.EventEmitter.emit (events.js:92:17)
at emitReadable_ (_stream_readable.js:408:10)
at emitReadable (_stream_readable.js:404:5)
at readableAddChunk (_stream_readable.js:165:9)
CryptexDHT commented 10 years ago

This error appear only in new ICQ account. But after i added one user in roster list to this UIN, using Pidgin, this error is disappeared.