aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 61edd41..edd636c 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -2279,7 +2279,7 @@ class SlackThreadChannel(SlackChannelCommon):
def get_history(self):
self.got_history = True
- for message in self.parent_message.submessages:
+ for message in chain([self.parent_message], self.parent_message.submessages):
text = self.render(message)
self.buffer_prnt(message.sender, text, message.ts, tag_nick=message.sender_plain)
if len(self.parent_message.submessages) < self.parent_message.number_of_replies():