mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Merge pull request #2908 from ryanpetrello/fix-2187
fix a bug that broke bot avatars for Slack notifications
This commit is contained in:
commit
5abe045e6c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user