slackApp: convert from channel to conversation

This commit is contained in:
Chris Sexton 2021-01-14 16:54:23 -05:00 committed by Chris Sexton
parent ba47710b46
commit ff4b541c01
1 changed files with 1 additions and 1 deletions

View File

@ -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
}