mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-13 07:48:39 -05:00
Merge pull request #2908 from ryanpetrello/fix-2187
fix a bug that broke bot avatars for Slack notifications
This commit is contained in:
@@ -69,6 +69,7 @@ class SlackBackend(AWXBaseEmailBackend):
|
|||||||
r = r[1:]
|
r = r[1:]
|
||||||
ret = connection.api_call("chat.postMessage",
|
ret = connection.api_call("chat.postMessage",
|
||||||
channel=r,
|
channel=r,
|
||||||
|
as_user=True,
|
||||||
attachments=[{
|
attachments=[{
|
||||||
"color": self.color,
|
"color": self.color,
|
||||||
"text": m.subject
|
"text": m.subject
|
||||||
|
|||||||
Reference in New Issue
Block a user