diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2022-09-18 16:17:05 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2022-09-18 18:14:23 +0200 |
commit | 6f8b2c33d0abc9deb3a4315d746b195e0067a5eb (patch) | |
tree | 7345ce3c97f2f472b700551627ad86d77a1ada4a /wee_slack.py | |
parent | 46bc2a9ff257c7005db9be8e069d9877ff8ef5f1 (diff) | |
download | wee-slack-6f8b2c33d0abc9deb3a4315d746b195e0067a5eb.tar.gz |
Fix limit parameter in history request
Limit should be used now, so it seems like count has been renamed to
limit.
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 0984e0e..2c7adfd 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -2584,7 +2584,7 @@ class SlackChannel(SlackChannelCommon): self.pending_history_requests.add(self.identifier) self.get_members() - post_data = {"channel": self.identifier, "count": config.history_fetch_count} + post_data = {"channel": self.identifier, "limit": config.history_fetch_count} if self.got_history and self.messages and not full: post_data["oldest"] = next(reversed(self.messages)) |