From 5cd368029537095db4573cb1c398349b9675e226 Mon Sep 17 00:00:00 2001 From: Astra Logical Date: Thu, 23 Jul 2026 13:49:00 -0400 Subject: [PATCH] Fix class name --- matrix_keycloak_bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_keycloak_bot.py b/matrix_keycloak_bot.py index 6c78142..d8f864c 100644 --- a/matrix_keycloak_bot.py +++ b/matrix_keycloak_bot.py @@ -10,7 +10,7 @@ from keycloak.exceptions import KeycloakError from mautrix.client import Client from mautrix.crypto import OlmMachine -from mautrix.crypto.account import Account +from mautrix.crypto.account import OlmAccount from mautrix.crypto.store import MemoryCryptoStore from mautrix.client.state_store import MemoryStateStore from mautrix.types import ( @@ -434,7 +434,7 @@ async def main(): account = await client.crypto.store.get_account(client.mxid) if not account: log.info("Creating new Olm account...") - account = Account.generate() + account = OlmAccount.generate() await client.crypto.store.put_account(account) # Register Event Handlers