Update slack_backend.py

This commit is contained in:
Guillaume Marsay
2019-10-26 22:07:31 +02:00
committed by GitHub
parent 9a70ac88c0
commit 31a96d20ab

View File

@@ -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']: