diff options
author | Erik Johnston <erik@matrix.org> | 2022-07-15 13:59:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 12:59:45 +0000 |
commit | 0731e0829c08aec7f31fdc72c236757e4cc38747 (patch) | |
tree | b1a7046cf12a1bf24f9affd9fdca26180b863d0f /synapse/storage/controllers | |
parent | Use a real room in the notification rotation tests. (#13260) (diff) | |
download | synapse-0731e0829c08aec7f31fdc72c236757e4cc38747.tar.xz |
Don't pull out the full state when storing state (#13274)
Diffstat (limited to 'synapse/storage/controllers')
-rw-r--r-- | synapse/storage/controllers/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/controllers/state.py b/synapse/storage/controllers/state.py index d3a44bc876..e08f956e6e 100644 --- a/synapse/storage/controllers/state.py +++ b/synapse/storage/controllers/state.py @@ -346,7 +346,7 @@ class StateStorageController: room_id: str, prev_group: Optional[int], delta_ids: Optional[StateMap[str]], - current_state_ids: StateMap[str], + current_state_ids: Optional[StateMap[str]], ) -> int: """Store a new set of state, returning a newly assigned state group. |