summary refs log tree commit diff
path: root/synapse/storage/state.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-07-26 12:49:53 -0400
committerGitHub <noreply@github.com>2021-07-26 12:49:53 -0400
commitb7186c6e8ddacc328ae2c155162b36291a3c2b79 (patch)
tree2ade38cead9dc9a8cff31405961a55378aae78e5 /synapse/storage/state.py
parentUpdate the MSC3083 support to verify if joins are from an authorized server. ... (diff)
downloadsynapse-b7186c6e8ddacc328ae2c155162b36291a3c2b79.tar.xz
Add type hints to state handler. (#10482)
Diffstat (limited to 'synapse/storage/state.py')
-rw-r--r--synapse/storage/state.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index f8fbba9d38..e5400d681a 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -570,8 +570,8 @@ class StateGroupStorage:
         event_id: str,
         room_id: str,
         prev_group: Optional[int],
-        delta_ids: Optional[dict],
-        current_state_ids: dict,
+        delta_ids: Optional[StateMap[str]],
+        current_state_ids: StateMap[str],
     ) -> int:
         """Store a new set of state, returning a newly assigned state group.