Ao fazer login em fb-messenger-cli
e pesquisar por amigos para bater papo, recebo esta mensagem de erro.
Como corrijo isso?
$Select conversation :
$ > /search [query]
/usr/local/lib/node_modules/fb-messenger-cli/scripts/search.js:49
return friend.name.toLowerCase().indexOf(searchString.toLowerCase()) !== -1;
^
$TypeError: Cannot read property 'toLowerCase' of undefined
at filtered.friends.filter (/usr/local/lib/node_modules/fb-messenger-cli/scripts/search.js:49:32)
at Array.filter (<anonymous>)
at Search.filterFriends (/usr/local/lib/node_modules/fb-messenger-cli/scripts/search.js:48:38)
at messenger.getFriends (/usr/local/lib/node_modules/fb-messenger-cli/scripts/search.js:42:18)
at Request.request.post [as _callback] (/usr/local/lib/node_modules/fb-messenger-cli/scripts/messenger.js:524:24)
at Request.self.callback (/usr/local/lib/node_modules/fb-messenger-cli/node_modules/request/request.js:186:22)
at Request.emit (events.js:182:13)
at Request.<anonymous> (/usr/local/lib/node_modules/fb-messenger-cli/node_modules/request/request.js:1163:10)
at Request.emit (events.js:182:13)
at Gunzip.<anonymous> (/usr/local/lib/node_modules/fb-messenger-cli/node_modules/request/request.js:1085:12)
Tags command-line