mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-12-24 17:15:40 +00:00
Increase batch size for conversation.list api method (slack) (#1700)
Co-authored-by: Ivan Zuev <i-zuev@yandex-team.ru>
This commit is contained in:
parent
5a1fd7dadd
commit
6a7412bf2b
@ -291,6 +291,7 @@ func (b *channels) populateChannels(wait bool) {
|
||||
queryParams := &slack.GetConversationsParameters{
|
||||
ExcludeArchived: true,
|
||||
Types: []string{"public_channel,private_channel"},
|
||||
Limit: 1000,
|
||||
}
|
||||
for {
|
||||
channels, nextCursor, err := b.sc.GetConversations(queryParams)
|
||||
|
Loading…
Reference in New Issue
Block a user