From 98ff8d6f3095582ab40c4be798ac1179c5a6fe7b Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Thu, 20 Jul 2023 17:13:15 +0100 Subject: Fix a couple type hints. --- synapse/events/builder.py | 4 ++-- 1 file 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({}) -- cgit 1.4.1