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

First message from any slack user dropped. #22

Open
robsiemb opened this issue Aug 13, 2024 · 0 comments
Open

First message from any slack user dropped. #22

robsiemb opened this issue Aug 13, 2024 · 0 comments

Comments

@robsiemb
Copy link
Contributor

On the first message the bot tries to forward from slack for a given user, it attemps to send them a DM to introduce itself and tell them what their bridged display name is.

However, it does this with a now-obsolete API, and so it gets an exception instead. This happens before the message is forwarded, so the message isn't forwarded. The slack error is:

'messages': ['[ERROR] This method is retired and can no longer be used. Please use conversations.open instead. Learn more: [https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api.']}}](https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api.']%7D%7D)\n"

Future messages are fine, since the user is now known to the bot.

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

1 participant