aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_conversation.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/slack_conversation.py')
-rw-r--r--slack/slack_conversation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py
index fd73385..c28c9ec 100644
--- a/slack/slack_conversation.py
+++ b/slack/slack_conversation.py
@@ -375,7 +375,7 @@ class SlackConversation:
async def load_members(self, load_all: bool = False):
if self._members is None:
members_response = await self._api.fetch_conversations_members(
- self, pages=-1 if load_all else 1
+ self, limit=None if load_all else 1000
)
self._members = members_response["members"]
self.workspace.users.initialize_items(self._members)