summaryrefslogtreecommitdiffstats
path: root/bridge/slack/slack.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/slack/slack.go')
-rw-r--r--bridge/slack/slack.go2
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)
}