Merge pull request #5125 from gmarsay/bugfix-slack-notification

Bugfix - Slack notification with name and avatar

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2019-10-28 15:37:39 +00:00
committed by GitHub

View File

@@ -50,6 +50,7 @@ class SlackBackend(AWXBaseEmailBackend):
else:
ret = connection.api_call("chat.postMessage",
channel=r,
as_user=True,
text=m.subject)
logger.debug(ret)
if ret['ok']: