You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is where the error is happening: (slackbots index.js):
getChatId(name){returnthis.getUser(name).then(function(data){varchatId=_.find(this.ims,{user: data.id});// here is the problemreturn(chatId&&chatId.id)||this.openIm(data.id);}.bind(this)).then(function(data){returntypeofdata==='string' ? data : data.channel.id;});}
I'm getting these errors when trying to use
postMessageToUser
. Some users works fine, some crashes with this error.This is where the error is happening: (slackbots index.js):
This is my
postMessageToUser
wrapper:Any thoughts? I'm sure the user being received by the
postMessageToUser
function is a valid user in the given workspace.Thanks in advance,
Geraldo
The text was updated successfully, but these errors were encountered: