This commit is contained in:
Astra Logical 2026-07-23 13:51:40 -04:00
parent f414f5a4c4
commit c8e87ca110

View file

@ -430,8 +430,8 @@ async def main():
"device_id": client.device_id
}, f)
# Ensure an Olm crypto account exists in the store (accessing via crypto_store variable directly)
account = await crypto_store.get_account(client.mxid)
# Ensure an Olm crypto account exists in the store
account = await crypto_store.get_account()
if not account:
log.info("Creating new Olm account...")
account = OlmAccount.generate()