mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
Use markdown for notifications
This commit is contained in:
parent
92139c1278
commit
6ada771f8b
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ async def notify(message, repository="dev"):
|
|||
message = message.replace(char, "")
|
||||
|
||||
proc = await asyncio.create_subprocess_shell(
|
||||
f"/var/www/webhooks/matrix-commander -m '{message}' -c /var/www/webhooks/credentials.json --store /var/www/webhooks/store --room 'yunohost-{chan}'"
|
||||
f"/var/www/webhooks/matrix-commander --markdown -m '{message}' -c /var/www/webhooks/credentials.json --store /var/www/webhooks/store --room 'yunohost-{chan}'"
|
||||
)
|
||||
try:
|
||||
await proc.communicate()
|
||||
|
|
Loading…
Reference in a new issue