Slackadaisical icon indicating copy to clipboard operation
Slackadaisical copied to clipboard

Crash on opening conversation with deactivated accounts

Open jminz opened this issue 7 years ago • 0 comments

On the left panel of the contacts and channels, I could find deactivated accounts, one I click on any one of those, I got the error:

TypeError: Cannot read property 'ts' of undefined
    at SlackAPI.markChannelRead (/Users/username/Slackadaisical/dist/SlackAPI.js:137:76)
    at MessagesList.loadHistory (/Users/username/Slackadaisical/dist/MessagesList.js:133:26)
    at /Users/username/Slackadaisical/dist/MessagesList.js:87:23
    at Request._callback (/Users/username/Slackadaisical/dist/SlackAPI.js:166:53)
    at Request.self.callback (/Users/username/Slackadaisical/node_modules/request/request.js:186:22)
    at emitTwo (events.js:126:13)
    at Request.emit (events.js:214:7)
    at Request.<anonymous> (/Users/username/Slackadaisical/node_modules/request/request.js:1163:10)
    at emitOne (events.js:116:13)
    at Request.emit (events.js:211:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node dist/index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/username/.npm/_logs/2018-02-05T18_22_47_112Z-debug.log

jminz avatar Feb 05 '18 18:02 jminz