1
0
mirror of https://github.com/caronc/apprise.git synced 2025-03-02 09:02:22 +01:00

Set icon_url parameter for Slack notifications refs ()

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: if image_url:
payload['attachments'][0]['footer_icon'] = image_url payload['attachments'][0]['footer_icon'] = image_url
payload['icon_url'] = image_url
self.logger.debug('Slack POST URL: %s (cert_verify=%r)' % ( self.logger.debug('Slack POST URL: %s (cert_verify=%r)' % (
url, self.verify_certificate, url, self.verify_certificate,