diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-01-29 19:21:45 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:53 +0100 |
commit | 6ca6e00bda3259d83f69d831093fe124c4c31f47 (patch) | |
tree | f778dda1cadc32887723c63014b100092576075d /slack/slack_conversation.py | |
parent | 25603cad123f497c5c043f19849083783029b16c (diff) | |
download | wee-slack-6ca6e00bda3259d83f69d831093fe124c4c31f47.tar.gz |
Simplify is_member check
Diffstat (limited to 'slack/slack_conversation.py')
-rw-r--r-- | slack/slack_conversation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py index c50e2ce..7472959 100644 --- a/slack/slack_conversation.py +++ b/slack/slack_conversation.py @@ -120,7 +120,7 @@ class SlackConversation: if "is_open" in self._info: if self._info["is_open"]: await self.open_buffer() - elif "is_member" in self._info and self._info["is_member"]: + elif self._info.get("is_member"): await self.open_buffer() async def open_buffer(self): |