From 34df884be7ae6d434ae7c8692df009538924fad9 Mon Sep 17 00:00:00 2001 From: HgO Date: Sat, 9 Jul 2022 12:26:50 +0200 Subject: [PATCH] start webhook server --- matrix_alertbot/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matrix_alertbot/main.py b/matrix_alertbot/main.py index bae9bf1..4a10155 100644 --- a/matrix_alertbot/main.py +++ b/matrix_alertbot/main.py @@ -54,6 +54,8 @@ def create_matrix_client(config: Config) -> AsyncClient: async def start_matrix_client( client: AsyncClient, webhook_server: Webhook, cache: Cache, config: Config ) -> bool: + await webhook_server.start() + # Keep trying to reconnect on failure (with some time in-between) while True: try: