We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4028be commit f549216Copy full SHA for f549216
mautrix/crypto/account.py
@@ -82,7 +82,7 @@ def get_device_keys(self, user_id: UserID, device_id: DeviceID) -> DeviceKeys:
82
device_id=device_id,
83
algorithms=[EncryptionAlgorithm.OLM_V1, EncryptionAlgorithm.MEGOLM_V1],
84
keys={
85
- KeyID(algorithm=EncryptionKeyAlgorithm(algorithm), key_id=key): key
+ KeyID(algorithm=EncryptionKeyAlgorithm(algorithm), key_id=device_id): key
86
for algorithm, key in self.identity_keys.items()
87
},
88
signatures={},
0 commit comments