slack_import: Remove obsolete SlackImportAttachment placeholder.

This was introduced in f4ad464d82, and
incompletely removed in e037c2f93e649c28a71c02559b5ae7a3333f42a8; here
we finish removing it.
This commit is contained in:
rht
2021-08-01 10:12:50 -04:00
committed by Tim Abbott
parent af5958e407
commit 1b4832a703
2 changed files with 0 additions and 3 deletions

View File

@@ -1094,8 +1094,6 @@ def get_attachment_path_and_content(fileinfo: ZerverFieldsT, realm_id: int) -> T
s3_path = "/".join(
[
str(realm_id),
"SlackImportAttachment", # This is a special placeholder which should be kept
# in sync with 'exports.py' function 'import_message_data'
format(random.randint(0, 255), "x"),
secrets.token_urlsafe(18),
sanitize_name(fileinfo["name"]),