slack: Skip files where file_access: file_not_found.

This commit is contained in:
Matt Keller 2022-10-25 12:51:09 -04:00 committed by Tim Abbott
parent 63d2565467
commit 4d87bf291c
1 changed files with 1 additions and 1 deletions

View File

@ -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