mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 19:07:39 -02:30
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:
@@ -50,6 +50,7 @@ class SlackBackend(AWXBaseEmailBackend):
|
|||||||
else:
|
else:
|
||||||
ret = connection.api_call("chat.postMessage",
|
ret = connection.api_call("chat.postMessage",
|
||||||
channel=r,
|
channel=r,
|
||||||
|
as_user=True,
|
||||||
text=m.subject)
|
text=m.subject)
|
||||||
logger.debug(ret)
|
logger.debug(ret)
|
||||||
if ret['ok']:
|
if ret['ok']:
|
||||||
|
|||||||
Reference in New Issue
Block a user