mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 19:44:51 -04:00
Fix some typos.
This commit is contained in:
parent
2c9b4a5f16
commit
7950aa8a27
23 changed files with 34 additions and 34 deletions
|
@ -155,7 +155,7 @@ class KeyStore(SQLBaseStore):
|
|||
(server_name, key_id, from_server) triplet if one already existed.
|
||||
Args:
|
||||
server_name: The name of the server.
|
||||
key_id: The identifer of the key this JSON is for.
|
||||
key_id: The identifier of the key this JSON is for.
|
||||
from_server: The server this JSON was fetched from.
|
||||
ts_now_ms: The time now in milliseconds.
|
||||
ts_valid_until_ms: The time when this json stops being valid.
|
||||
|
@ -182,7 +182,7 @@ class KeyStore(SQLBaseStore):
|
|||
async def get_server_keys_json(
|
||||
self, server_keys: Iterable[Tuple[str, Optional[str], Optional[str]]]
|
||||
) -> Dict[Tuple[str, Optional[str], Optional[str]], List[dict]]:
|
||||
"""Retrive the key json for a list of server_keys and key ids.
|
||||
"""Retrieve the key json for a list of server_keys and key ids.
|
||||
If no keys are found for a given server, key_id and source then
|
||||
that server, key_id, and source triplet entry will be an empty list.
|
||||
The JSON is returned as a byte array so that it can be efficiently
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue