Closed bartwalczak1 closed 7 years ago
Thanks @bartwalczak1 for reporting this problem. There may need to be special treatment for strings formatted with #botroom/user
. I'll look at how the identification is handled by errbot.
@bartwalczak1 The patch has been merged so I'll close this ticket.
When direct messaging bot on slack it is possible to extract api_user from the execution through
{{execution.context.api_user}}
this field looks like so from the backend:u'api_user': u'@bwalczak',
When same message is sent from channel, bot is unable to mention user hence the reply:
'api_user': u'#botroom/bwalczak',