diff options
Diffstat (limited to 'slack/slack_conversation.py')
-rw-r--r-- | slack/slack_conversation.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py index a87cb3f..1da093d 100644 --- a/slack/slack_conversation.py +++ b/slack/slack_conversation.py @@ -740,6 +740,8 @@ class SlackConversation(SlackBuffer): if update_server: if self.type in ["im", "mpim"]: await self._api.conversations_close(self) + else: + await self._api.conversations_leave(self) _T = TypeVar("_T", bound=SlackConversation) |