Slack Image Display restore previous behaviour after PR #412 (#470)

pull/471/head
Stefan Reimer 2021-10-27 00:26:25 +02:00 committed by GitHub
parent 08b0577ed8
commit ea75bb972f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -424,6 +424,8 @@ class NotifySlack(NotifyBase):
else self.image_url(notify_type)
if image_url:
payload['icon_url'] = image_url
_footer['elements'].insert(0, {
'type': 'image',
'image_url': image_url,