aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 50ce389..95d1dbc 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2466,7 +2466,10 @@ class SlackChannel(SlackChannelCommon):
self.print_getting_history()
self.pending_history_requests.add(self.identifier)
- if not self.members or self.members == set(self.team.myidentifier):
+ if not self.got_history:
+ # Slack has started returning only a few members for some channels
+ # in rtm.start. I don't know how we can check if the member list is
+ # complete, so we have to fetch members for all channels.
s = SlackRequest(
self.team,
"conversations.members",