Skip to content

Commit fbda296

Browse files
committed
slack: Disable attachments for now.
1 parent a57753a commit fbda296

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

zulip/integrations/slack/slackdata2zulipdata.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ def main(slack_zip_file: str) -> None:
474474

475475
# IO attachments
476476
attachment_file = output_dir + '/attachment.json'
477-
attachment = {"zerver_attachment": zerver_attachment}
477+
# attachment = {"zerver_attachment": zerver_attachment}
478+
attachment = {"zerver_attachment": []}
478479
json.dump(attachment, open(attachment_file, 'w'))
479480

480481
print('ls', os.listdir())

0 commit comments

Comments
 (0)