Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #533 from jonchurch/issue507SlackTyping2
Browse files Browse the repository at this point in the history
Slack: fix send_via_rtm, fix typing indicator
  • Loading branch information
Ben Brown authored Dec 19, 2016
2 parents aa5e2cb + 82c2fb9 commit 8fe9b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Slackbot_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ module.exports = function(botkit, config) {
* OR if one of the fields that is only supported by the web api is present
*/
if (
bot.config.send_via_rtm !== true ||
botkit.config.send_via_rtm !== true && message.type !== 'typing' ||
message.attachments || message.icon_emoji ||
message.username || message.icon_url) {

Expand Down

0 comments on commit 8fe9b39

Please sign in to comment.