From 195aeff39ea81fdfc5473bd1b992929cb014d7d7 Mon Sep 17 00:00:00 2001 From: Astra Logical Date: Thu, 30 Jul 2026 12:08:43 -0400 Subject: [PATCH] Explicitly call load store --- matrix_keycloak_bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix_keycloak_bot.py b/matrix_keycloak_bot.py index 16172c3..5ca3405 100644 --- a/matrix_keycloak_bot.py +++ b/matrix_keycloak_bot.py @@ -472,6 +472,7 @@ async def main(): client.access_token = creds["access_token"] client.user_id = creds["user_id"] client.device_id = creds["device_id"] + client.load_store() session_restored = True except (json.JSONDecodeError, KeyError) as e: print(f"⚠️ Credentials file is empty or corrupted ({e}). Discarding and forcing new login...")