We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aab76e commit fc56cbeCopy full SHA for fc56cbe
__init__.py
@@ -229,18 +229,6 @@ async def receive_slack_msg(**payload):
229
if 'files' in data:
230
files = data['files']
231
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
244
formatted_attachments = \
245
await slack_reformat.format_attachments_from_slack(
246
msg, attachments,
0 commit comments