Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user not mentioned with reply #13

Closed
bartwalczak1 opened this issue Sep 29, 2017 · 2 comments
Closed

user not mentioned with reply #13

bartwalczak1 opened this issue Sep 29, 2017 · 2 comments

Comments

@bartwalczak1
Copy link

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',

@nzlosh
Copy link
Collaborator

nzlosh commented Sep 29, 2017

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.

@nzlosh
Copy link
Collaborator

nzlosh commented Oct 24, 2017

@bartwalczak1 The patch has been merged so I'll close this ticket.

@nzlosh nzlosh closed this as completed Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants