aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_conversation.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-08-24 21:07:07 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commit236c7a90671716702a630d2701af4d961b51d97c (patch)
treecf8910f9e37108cd7e20ef868e91ae8e1b701b1b /slack/slack_conversation.py
parent711f1e10211f02be2190c22efbaf297ead70af4a (diff)
downloadwee-slack-236c7a90671716702a630d2701af4d961b51d97c.tar.gz
Rename add_message and add some TODOs
Diffstat (limited to 'slack/slack_conversation.py')
-rw-r--r--slack/slack_conversation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py
index 32048c2..211d156 100644
--- a/slack/slack_conversation.py
+++ b/slack/slack_conversation.py
@@ -358,7 +358,8 @@ class SlackConversation:
self.buffer_pointer, "", user.nick(), color, "", "", 1
)
- async def add_message(self, message: SlackMessage):
+ async def add_new_message(self, message: SlackMessage):
+ # TODO: Remove old messages
self._messages[message.ts] = message
if self.history_filled:
await self.print_message(message)