mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-14 16:09:26 +01: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