diff --git a/mautrix/crypto/machine.py b/mautrix/crypto/machine.py index 0cfe6ea3..3dc84856 100644 --- a/mautrix/crypto/machine.py +++ b/mautrix/crypto/machine.py @@ -292,7 +292,7 @@ async def _share_keys(self, current_otk_count: int | None) -> None: ): self.log.debug("Checking OTK count on server") current_otk_count = (await self.client.upload_keys()).get( - EncryptionKeyAlgorithm.SIGNED_CURVE25519 + EncryptionKeyAlgorithm.SIGNED_CURVE25519, 0 ) device_keys = ( self.account.get_device_keys(self.client.mxid, self.client.device_id)