From 24a0115ac359a33d2237cf8c87183a76aa63ab25 Mon Sep 17 00:00:00 2001 From: Shashwat Rawat <76027274+shashwat-appdirect@users.noreply.github.com> Date: Mon, 25 Jan 2021 23:15:20 +0530 Subject: [PATCH] fix: Not able to send message to slack private channel (#1036) Signed-off-by: Shashwat Rawat --- sensors/triggers/slack/slack.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sensors/triggers/slack/slack.go b/sensors/triggers/slack/slack.go index fc339d8f70..b985318100 100644 --- a/sensors/triggers/slack/slack.go +++ b/sensors/triggers/slack/slack.go @@ -109,6 +109,7 @@ func (t *SlackTrigger) Execute(ctx context.Context, events map[string]*v1alpha1. params := &slack.GetConversationsParameters{ Limit: 200, + Types: []string{"public_channel,private_channel"}, } channelID := "" for {