Set icon_url parameter for Slack notifications refs #167 (#168)

This commit is contained in:
Raman Gupta 2019-10-21 12:44:26 -04:00 committed by Chris Caron
parent acc461d598
commit f695580340

View File

@ -310,6 +310,7 @@ class NotifySlack(NotifyBase):
if image_url:
payload['attachments'][0]['footer_icon'] = image_url
payload['icon_url'] = image_url
self.logger.debug('Slack POST URL: %s (cert_verify=%r)' % (
url, self.verify_certificate,