Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
slack: Skip files where file_access: file_not_found.
Matt Keller4d87bf291c9c
diff --git a/zerver/data_import/slack.py b/zerver/data_import/slack.pyindex 0873b90fff1..3b1002ee9aa 100755--- a/zerver/data_import/slack.py+++ b/zerver/data_import/slack.py@@ -1034,7 +1034,7 @@ def process_message_files(# that are hidden because of 10k cap in free plan.continue- if fileinfo.get("file_access", "") == "access_denied":+ if fileinfo.get("file_access", "") in ["access_denied", "file_not_found"]:# Slack sometimes includes file stubs for files it declares# inaccessible and does not further reference.continue