aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_workspace.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-10-08 17:35:04 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:54 +0100
commit01c1a010f9d03f69aab27c40f2773147a0fb6bd5 (patch)
treec3b72159a1872beee149e0fac38bcf8060777f77 /slack/slack_workspace.py
parent5041120cc7020baee501c0dd053c0ef552530a0c (diff)
downloadwee-slack-01c1a010f9d03f69aab27c40f2773147a0fb6bd5.tar.gz
Reload conversations on reconnect
Diffstat (limited to 'slack/slack_workspace.py')
-rw-r--r--slack/slack_workspace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/slack_workspace.py b/slack/slack_workspace.py
index 3f5d525..992e025 100644
--- a/slack/slack_workspace.py
+++ b/slack/slack_workspace.py
@@ -265,7 +265,7 @@ class SlackWorkspace:
await conversation.open_buffer()
await gather(
- *(conversation[1].set_hotlist() for conversation in conversations_to_open)
+ *(slack_buffer.set_hotlist() for slack_buffer in shared.buffers.values())
)
self.is_connected = True