aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_workspace.py
diff options
context:
space:
mode:
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 e869de7..45d453b 100644
--- a/slack/slack_workspace.py
+++ b/slack/slack_workspace.py
@@ -550,7 +550,7 @@ class SlackWorkspace:
or data["type"] == "group_left"
):
if channel.buffer_pointer is not None:
- weechat.buffer_close(channel.buffer_pointer)
+ await channel.close_buffer()
elif data["type"] == "reaction_added" and data["item"]["type"] == "message":
await channel.reaction_add(
SlackTs(data["item"]["ts"]), data["reaction"], data["user"]