aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_message.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/slack_message.py')
-rw-r--r--slack/slack_message.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/slack/slack_message.py b/slack/slack_message.py
index 907dec9..0466559 100644
--- a/slack/slack_message.py
+++ b/slack/slack_message.py
@@ -1,6 +1,7 @@
from __future__ import annotations
import re
+from collections import OrderedDict
from datetime import date, datetime, timedelta
from enum import Enum
from typing import TYPE_CHECKING, List, Match, Optional, Tuple, Union
@@ -107,7 +108,8 @@ class SlackMessage:
self._rendered_message = None
self.conversation = conversation
self.ts = SlackTs(message_json["ts"])
- self.replies: List[SlackMessage] = []
+ self.replies: OrderedDict[SlackTs, SlackMessage] = OrderedDict()
+ self.reply_history_filled = False
self._deleted = False
@property