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.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/slack/slack_workspace.py b/slack/slack_workspace.py
index bde1b4d..f2cb33a 100644
--- a/slack/slack_workspace.py
+++ b/slack/slack_workspace.py
@@ -350,6 +350,13 @@ class SlackWorkspace:
if channel:
await channel.update_buffer_props()
return
+ elif data["type"] == "user_status_changed":
+ user = await self.users[data["user"]["id"]]
+ user.update_info_json(data["user"])
+ for conversation in self.open_conversations.values():
+ if conversation.im_user_id == user.id:
+ await conversation.update_buffer_props()
+ return
elif data["type"] == "reaction_added" or data["type"] == "reaction_removed":
channel_id = data["item"]["channel"]
elif (