aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_conversation.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-01-29 19:21:45 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commit6ca6e00bda3259d83f69d831093fe124c4c31f47 (patch)
treef778dda1cadc32887723c63014b100092576075d /slack/slack_conversation.py
parent25603cad123f497c5c043f19849083783029b16c (diff)
downloadwee-slack-6ca6e00bda3259d83f69d831093fe124c4c31f47.tar.gz
Simplify is_member check
Diffstat (limited to 'slack/slack_conversation.py')
-rw-r--r--slack/slack_conversation.py2
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):