diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2023-07-20 17:13:15 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2023-07-20 17:13:15 +0100 |
commit | 98ff8d6f3095582ab40c4be798ac1179c5a6fe7b (patch) | |
tree | a6c84f3052e08b3d62465e6659e7ccd578f051e8 | |
parent | Do not add `origin` field to LPDUs. (diff) | |
download | synapse-98ff8d6f3095582ab40c4be798ac1179c5a6fe7b.tar.xz |
Fix a couple type hints.
-rw-r--r-- | synapse/events/builder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/events/builder.py b/synapse/events/builder.py index e3b2569f91..ec89eaeb1c 100644 --- a/synapse/events/builder.py +++ b/synapse/events/builder.py @@ -89,8 +89,8 @@ class EventBuilder: # TODO(LM) If Synapse is acting as a hub-server this should be itself. hub_server: Optional[str] = None - _lpdu_hashes: Optional[str] = None - _lpdu_signatures: Optional[str] = None + _lpdu_hashes: Optional[Dict[str, str]] = None + _lpdu_signatures: Optional[Dict[str, Dict[str, str]]] = None internal_metadata: _EventInternalMetadata = attr.Factory( lambda: _EventInternalMetadata({}) |