quartzjer / hash-im

Minimal telehash-based IM (command line)
MIT License
7 stars 3 forks source link

Error #1

Closed refset closed 11 years ago

refset commented 11 years ago

Hey, @aflatter and I have been hanging around #telehash on freenode and while testing I came across this error:

(it was working okay initially)

/home/jeremy/telehash-experiments/hash-im/im.js:54
  if(js.message || js.nick) stream.send({}); // receipt ack, maybe have flag f
       ^
TypeError: Cannot read property 'message' of undefined
    at Object.incoming [as handler] (/home/jeremy/telehash-experiments/hash-im/im.js:54:8)
    at Object.stream.handle (/home/jeremy/telehash-experiments/hash-im/node_modules/telehash/index.js:425:12)
    at endStream (/home/jeremy/telehash-experiments/hash-im/node_modules/telehash/index.js:452:10)
    at /home/jeremy/telehash-experiments/hash-im/node_modules/telehash/index.js:207:5
    at Array.forEach (native)
    at hashDel (/home/jeremy/telehash-experiments/hash-im/node_modules/telehash/index.js:206:28)
    at /home/jeremy/telehash-experiments/hash-im/node_modules/telehash/index.js:225:49
    at Array.forEach (native)
    at meshReap (/home/jeremy/telehash-experiments/hash-im/node_modules/telehash/index.js:218:26)
    at meshLoop (/home/jeremy/telehash-experiments/hash-im/node_modules/telehash/index.js:196:3)

Awesome work in any case!

aflatter commented 11 years ago

Yup, the same happened to me. Unfortunately don't have the time to debug atm.

quartzjer commented 11 years ago

Hmpf, I'm keeping node-telehash so much of a moving target yet that I'm causing myself pain elsewhere :)