diff options
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/slack/slack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index f77541c1..e6f69ed8 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -318,7 +318,7 @@ func (b *Bslack) handleSlackClient(messages chan *config.Message) { b.Usergroups, _ = b.sc.GetUserGroups() case *slack.ConnectedEvent: var err error - b.channels, _, err = b.sc.GetConversations(&slack.GetConversationsParameters{}) + b.channels, _, err = b.sc.GetConversations(&slack.GetConversationsParameters{Limit: 1000, Types: []string{"public_channel,private_channel,mpim,im"}}) if err != nil { b.Log.Errorf("Channel list failed: %#v", err) } |