diff options
Diffstat (limited to 'slack/slack_thread.py')
-rw-r--r-- | slack/slack_thread.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/slack/slack_thread.py b/slack/slack_thread.py index fe86b23..62d02ed 100644 --- a/slack/slack_thread.py +++ b/slack/slack_thread.py @@ -103,15 +103,12 @@ class SlackThread(SlackBuffer): await self.print_message(message) async def fill_history(self): - if self.history_pending: + if self.is_loading: return with self.loading(): - self.history_pending = True - if self.parent.reply_history_filled and not self.history_needs_refresh: await self.print_history() - self.history_pending = False return messages = await self.parent.conversation.fetch_replies(self.parent.ts) @@ -133,7 +130,6 @@ class SlackThread(SlackBuffer): await self.print_history() self.history_needs_refresh = False - self.history_pending = False async def print_message(self, message: SlackMessage): did_print = await super().print_message(message) |