diff options
author | David Robertson <davidr@element.io> | 2022-03-29 22:37:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-29 21:37:50 +0000 |
commit | e0bb2681340752f2716f1f386139ca37c53f26cd (patch) | |
tree | c60634aa76eb05611b7371e6a4916ebc782707b7 /synapse/crypto | |
parent | Room batch: fix up handling of unknown prev_event_ids (#12316) (diff) | |
download | synapse-e0bb2681340752f2716f1f386139ca37c53f26cd.tar.xz |
Fix typechecker problems exposed by signedjson 1.1.2 (#12326)
Diffstat (limited to 'synapse/crypto')
-rw-r--r-- | synapse/crypto/keyring.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/keyring.py b/synapse/crypto/keyring.py index 6cf384f6a1..c88afb2986 100644 --- a/synapse/crypto/keyring.py +++ b/synapse/crypto/keyring.py @@ -176,7 +176,7 @@ class Keyring: self._local_verify_keys: Dict[str, FetchKeyResult] = {} for key_id, key in hs.config.key.old_signing_keys.items(): self._local_verify_keys[key_id] = FetchKeyResult( - verify_key=key, valid_until_ts=key.expired_ts + verify_key=key, valid_until_ts=key.expired ) vk = get_verify_key(hs.signing_key) |