aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--slack/slack_workspace.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/slack/slack_workspace.py b/slack/slack_workspace.py
index 51551f0..69533d7 100644
--- a/slack/slack_workspace.py
+++ b/slack/slack_workspace.py
@@ -343,7 +343,13 @@ class SlackWorkspace:
log(LogLevel.DEBUG, DebugMessageType.WEBSOCKET_RECV, json.dumps(data))
try:
- if data["type"] == "hello":
+ if data["type"] in [
+ "hello",
+ "file_public",
+ "file_shared",
+ "file_deleted",
+ "dnd_updated_user",
+ ]:
return
elif data["type"] == "pref_change":
if data["name"] == "muted_channels":