Refactor resolve_state_groups_for_events to not pull out full state when no state resolution happens. (#12775)

This commit is contained in:
Shay 2022-05-18 10:15:52 -07:00 committed by GitHub
parent 3d8839c30c
commit 19d79b6ebe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 23 deletions

View file

@ -189,7 +189,7 @@ class StateGroupDataStore(StateBackgroundUpdateStore, SQLBaseStore):
group: int,
state_filter: StateFilter,
) -> Tuple[MutableStateMap[str], bool]:
"""Checks if group is in cache. See `_get_state_for_groups`
"""Checks if group is in cache. See `get_state_for_groups`
Args:
cache: the state group cache to use