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 22d9125 commit 423d42aCopy full SHA for 423d42a
1 file changed
mautrix/crypto/key_share.py
@@ -76,7 +76,7 @@ async def default_allow_key_share(
76
code=RoomKeyWithheldCode.BLACKLISTED,
77
reason="You have been blacklisted by this device",
78
)
79
- elif device.trust >= self.share_keys_min_trust:
+ elif await self.resolve_trust(device) >= self.share_keys_min_trust:
80
self.log.debug(f"Accepting key request from trusted device {device.device_id}")
81
return True
82
else:
0 commit comments