From 9de879b81bd048fa4f378942ad3f33fb9580430e Mon Sep 17 00:00:00 2001 From: Ryan Sydnor Date: Sun, 13 Oct 2019 18:38:44 -0400 Subject: [PATCH] Don't res.send view_submission events --- lib/SlackBot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SlackBot.js b/lib/SlackBot.js index fc5ee6400..6be358aca 100755 --- a/lib/SlackBot.js +++ b/lib/SlackBot.js @@ -345,7 +345,7 @@ function Slackbot(configuration) { * we do NOT want to respond to incoming webhooks or slash commands * as the response can be used by developers to actually deliver a reply */ - if (!message.command && !message.trigger_word && !message.submission) { + if (!message.command && !message.trigger_word && !message.submission && message.type !== 'view_submission') { res.send(''); } }