From 672eaccfc92ccd4ea63576169124ca2105237203 Mon Sep 17 00:00:00 2001 From: marko Date: Mon, 6 Oct 2025 05:26:18 +0200 Subject: [PATCH] adjust tu changes in MatrixIm --- homepage/participo/bdCheck.py | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/homepage/participo/bdCheck.py b/homepage/participo/bdCheck.py index 6a1567f..e5db22b 100644 --- a/homepage/participo/bdCheck.py +++ b/homepage/participo/bdCheck.py @@ -69,10 +69,9 @@ try: ), home_server_url="https://matrix.org", room_id="!vFXxgKsLbRLdWCSTIO:matrix.org", - credentials={ - "user": "@ukenth-the-grumpy:matrix.org", - "password": "DQpSs1yn9Y26c1zo", - }, + credentials=MatrixIm.Credentials( + "@ukenth-the-grumpy:matrix.org", "DQpSs1yn9Y26c1zo" + ), ) next_birthday_kids = sorted( @@ -91,18 +90,16 @@ try: ), home_server_url="https://matrix.org", room_id="!vFXxgKsLbRLdWCSTIO:matrix.org", - credentials={ - "user": "@ukenth-the-grumpy:matrix.org", - "password": "DQpSs1yn9Y26c1zo", - }, + credentials=MatrixIm.Credentials( + "@ukenth-the-grumpy:matrix.org", "DQpSs1yn9Y26c1zo" + ), ) except Exception as e: MatrixIm.post( message=f"bdCheck: Exception {e} ({repr(e)})\nResponse was {response}", home_server_url="https://matrix.org", room_id="!vFXxgKsLbRLdWCSTIO:matrix.org", - credentials={ - "user": "@ukenth-the-grumpy:matrix.org", - "password": "DQpSs1yn9Y26c1zo", - }, + credentials=MatrixIm.Credentials( + "@ukenth-the-grumpy:matrix.org", "DQpSs1yn9Y26c1zo" + ), )