diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-07-26 12:49:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 12:49:53 -0400 |
commit | b7186c6e8ddacc328ae2c155162b36291a3c2b79 (patch) | |
tree | 2ade38cead9dc9a8cff31405961a55378aae78e5 /synapse/storage/state.py | |
parent | Update the MSC3083 support to verify if joins are from an authorized server. ... (diff) | |
download | synapse-b7186c6e8ddacc328ae2c155162b36291a3c2b79.tar.xz |
Add type hints to state handler. (#10482)
Diffstat (limited to 'synapse/storage/state.py')
-rw-r--r-- | synapse/storage/state.py | 4 |
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. |