aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_thread.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2024-02-19 20:27:51 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-20 13:21:38 +0100
commitb9e67bba4d4021f3400275c033b42fa8ffd1a476 (patch)
treeb088101e7f070aee00fb926c8dc2a102dcd73bd8 /slack/slack_thread.py
parent6e7ca7290d4a59398438e14623d9e71db7c7508d (diff)
downloadwee-slack-b9e67bba4d4021f3400275c033b42fa8ffd1a476.tar.gz
Make api accessible from SlackBuffer
Diffstat (limited to 'slack/slack_thread.py')
-rw-r--r--slack/slack_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/slack_thread.py b/slack/slack_thread.py
index 5e6a8bb..47a00c2 100644
--- a/slack/slack_thread.py
+++ b/slack/slack_thread.py
@@ -136,7 +136,7 @@ class SlackThread(SlackBuffer):
last_read_line_ts = self.last_read_line_ts()
if last_read_line_ts and last_read_line_ts != self.last_read:
- await self._api.subscriptions_thread_mark(
+ await self.api.subscriptions_thread_mark(
self.parent.conversation, self.parent.ts, last_read_line_ts
)