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

Slack: fix send_via_rtm, fix typing indicator #533

Merged
merged 3 commits into from
Dec 19, 2016

Conversation

jonchurch
Copy link
Contributor

closes #507

bot.send() is looking for bot.config.send_via_rtm !== true which its not finding in bot.config. So messages are being sent via web API, and never reaching the rtm.send

However, bot.botkit.config.send_via_rtm does exist, once you've passed it into the controller, and this PR changes the logic to look there.

Also check if message.type == 'typing' to send typing indications via rtm.

@benbrown benbrown merged commit 8fe9b39 into howdyai:master Dec 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bot.startTyping Not Working in Slack
3 participants