mirror of https://github.com/zulip/zulip.git
slack: Skip files where file_access: file_not_found.
This commit is contained in:
parent
63d2565467
commit
4d87bf291c
|
@ -1034,7 +1034,7 @@ def process_message_files(
|
||||||
# that are hidden because of 10k cap in free plan.
|
# that are hidden because of 10k cap in free plan.
|
||||||
continue
|
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
|
# Slack sometimes includes file stubs for files it declares
|
||||||
# inaccessible and does not further reference.
|
# inaccessible and does not further reference.
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue