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

Activity contains a "mention" entity with my bot id even when message is not addressed to the bot #2044

Closed
ncksol opened this issue Jan 16, 2017 · 3 comments
Assignees
Labels
bug Indicates an unexpected problem or an unintended behavior.

Comments

@ncksol
Copy link

ncksol commented Jan 16, 2017

This is happening to my bot on telegram. It is member of a group and whenever a message is posted to the group the incoming activity contains entity of type "mention" and my bot's id. This is the same for every single message in the group. It doesn't matter whether user addressed the bot through "at" symbol or not.
Essentially I have to parse the text and look for "@botName" in the message instead of using entities.

@LarsLiden LarsLiden added the bug Indicates an unexpected problem or an unintended behavior. label Jan 17, 2017
@LarsLiden
Copy link
Member

This sounds like a bug. We will investigate

@eanders-ms
Copy link
Contributor

Verified this is happening. Was due to some legacy code. Will remove it.

@eanders-ms
Copy link
Contributor

Fix has been deployed. Closing now. @ncksol If you're still seeing this behavior please @mention me or open a new issue. Thanks for taking the time to report this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior.
Projects
None yet
Development

No branches or pull requests

3 participants