Skip to content

Commit fc56cbe

Browse files
committed
Remove obolete commented out code.
1 parent 9aab76e commit fc56cbe

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Diff for: __init__.py

-12
Original file line numberDiff line numberDiff line change
@@ -229,18 +229,6 @@ async def receive_slack_msg(**payload):
229229
if 'files' in data:
230230
files = data['files']
231231

232-
# TODO: When real support for 'files' is implemented,
233-
# it should probably be in the format_attachments_for_zulip
234-
# call.
235-
236-
# if 'files' in data:
237-
# for file in data['files']:
238-
# web_client.files_sharedPublicURL(id=file['id'])
239-
# if msg == '':
240-
# msg = file['permalink_public']
241-
# else:
242-
# msg += '\n' + file['permalink_public']
243-
244232
formatted_attachments = \
245233
await slack_reformat.format_attachments_from_slack(
246234
msg, attachments,

0 commit comments

Comments
 (0)