mirror of https://github.com/velour/catbase.git
slackApp: convert from channel to conversation
This commit is contained in:
parent
ba47710b46
commit
ff4b541c01
|
@ -491,7 +491,7 @@ func (s *SlackApp) getChannel(id string) (*slack.Channel, error) {
|
||||||
Str("id", id).
|
Str("id", id).
|
||||||
Msg("Channel not known, requesting info")
|
Msg("Channel not known, requesting info")
|
||||||
|
|
||||||
ch, err := s.api.GetChannelInfo(id)
|
ch, err := s.api.GetConversationInfo(id, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue