From 6ada771f8b2db307fdf87ed396c7a84ca774f3cc Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 20 Jan 2023 12:41:58 +0100 Subject: [PATCH] Use markdown for notifications --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 004be00..2d1e56b 100644 --- a/server.py +++ b/server.py @@ -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()