diff options
Diffstat (limited to 'synapse/crypto/keyring.py')
-rw-r--r-- | synapse/crypto/keyring.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/crypto/keyring.py b/synapse/crypto/keyring.py index 260aab3241..1caef70538 100644 --- a/synapse/crypto/keyring.py +++ b/synapse/crypto/keyring.py @@ -189,6 +189,10 @@ class Keyring: valid_until_ts=2**63, # fake future timestamp ) + async def is_server_linearized(self, server_name: str) -> bool: + # TODO(LM) Fetch whether the key response of the origin contains m.linearized. + return not self._is_mine_server_name(server_name) + async def verify_json_for_server( self, server_name: str, |