Skip to content

Commit 0634853

Browse files
authored
Add Changeset (#293)
* remove comment * changeset
1 parent 9b4ad3a commit 0634853

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changeset/curvy-brooms-hammer.md

+5
Original file line numberDiff line numberDiff line change
@@ -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

-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ export function createSlackEventsHandler(
3333

3434
// check for bot_id so that the bot doesn't trigger itself
3535
// check whether this was triggered from an external channel
36-
37-
// if (bot_id || isExternalChannel) {
3836
if (!isAllowedToRespond(eventPayload)) {
3937
return new Response(null, {
4038
status: 200,

0 commit comments

Comments
 (0)