From ff4b541c01b70764fdebe5fbf124bc4ca27b637b Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Thu, 14 Jan 2021 16:54:23 -0500 Subject: [PATCH] slackApp: convert from channel to conversation --- connectors/slackapp/slackApp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectors/slackapp/slackApp.go b/connectors/slackapp/slackApp.go index e162f7d..bd4077b 100644 --- a/connectors/slackapp/slackApp.go +++ b/connectors/slackapp/slackApp.go @@ -491,7 +491,7 @@ func (s *SlackApp) getChannel(id string) (*slack.Channel, error) { Str("id", id). Msg("Channel not known, requesting info") - ch, err := s.api.GetChannelInfo(id) + ch, err := s.api.GetConversationInfo(id, false) if err != nil { return nil, err }