Merge pull request #2908 from ryanpetrello/fix-2187

fix a bug that broke bot avatars for Slack notifications
This commit is contained in:
Ryan Petrello
2018-08-22 11:35:02 -04:00
committed by GitHub

View File

@@ -69,6 +69,7 @@ class SlackBackend(AWXBaseEmailBackend):
r = r[1:]
ret = connection.api_call("chat.postMessage",
channel=r,
as_user=True,
attachments=[{
"color": self.color,
"text": m.subject