diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-09-15 09:54:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 09:54:13 -0400 |
commit | 3eba047d388fd0d798229a0779f343dbda8a2887 (patch) | |
tree | 991e2bdf96eec08a830ae5542f3368f656c0781a /synapse/storage/state.py | |
parent | Add missing type hints to non-client REST servlets. (#10817) (diff) | |
download | synapse-3eba047d388fd0d798229a0779f343dbda8a2887.tar.xz |
Add type hints to state database module. (#10823)
Diffstat (limited to 'synapse/storage/state.py')
-rw-r--r-- | synapse/storage/state.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index c76529cb57..5e86befde4 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -377,7 +377,8 @@ class StateGroupStorage: make up the delta between the old and new state groups. """ - return await self.stores.state.get_state_group_delta(state_group) + state_group_delta = await self.stores.state.get_state_group_delta(state_group) + return state_group_delta.prev_group, state_group_delta.delta_ids async def get_state_groups_ids( self, _room_id: str, event_ids: Iterable[str] |