We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b4ad3a commit 0634853Copy full SHA for 0634853
.changeset/curvy-brooms-hammer.md
@@ -0,0 +1,5 @@
1
+---
2
+'@gitbook/integration-slack': patch
3
4
+
5
+Restrict usage from external connected slack channels
integrations/slack/src/handlers/events.ts
@@ -33,8 +33,6 @@ export function createSlackEventsHandler(
33
34
// check for bot_id so that the bot doesn't trigger itself
35
// check whether this was triggered from an external channel
36
-
37
- // if (bot_id || isExternalChannel) {
38
if (!isAllowedToRespond(eventPayload)) {
39
return new Response(null, {
40
status: 200,
0 commit comments