Bug fix
This commit is contained in:
parent
f414f5a4c4
commit
c8e87ca110
1 changed files with 2 additions and 2 deletions
|
|
@ -430,8 +430,8 @@ async def main():
|
||||||
"device_id": client.device_id
|
"device_id": client.device_id
|
||||||
}, f)
|
}, f)
|
||||||
|
|
||||||
# Ensure an Olm crypto account exists in the store (accessing via crypto_store variable directly)
|
# Ensure an Olm crypto account exists in the store
|
||||||
account = await crypto_store.get_account(client.mxid)
|
account = await crypto_store.get_account()
|
||||||
if not account:
|
if not account:
|
||||||
log.info("Creating new Olm account...")
|
log.info("Creating new Olm account...")
|
||||||
account = OlmAccount.generate()
|
account = OlmAccount.generate()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue