start webhook server

This commit is contained in:
HgO 2022-07-09 12:26:50 +02:00
parent f5394c142f
commit 34df884be7

View file

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