mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-28 21:28:32 -04:00
Update docstring to clarify that get_partial_state_events_batch
does not just give you completely arbitrary partial-state events. (#14417)
This commit is contained in:
parent
64dd8a9c6e
commit
634359b083
2 changed files with 10 additions and 1 deletions
|
@ -2228,7 +2228,15 @@ class EventsWorkerStore(SQLBaseStore):
|
|||
return result is not None
|
||||
|
||||
async def get_partial_state_events_batch(self, room_id: str) -> List[str]:
|
||||
"""Get a list of events in the given room that have partial state"""
|
||||
"""
|
||||
Get a list of events in the given room that:
|
||||
- have partial state; and
|
||||
- are ready to be resynced (because they have no prev_events that are
|
||||
partial-stated)
|
||||
|
||||
See the docstring on `_get_partial_state_events_batch_txn` for more
|
||||
information.
|
||||
"""
|
||||
return await self.db_pool.runInteraction(
|
||||
"get_partial_state_events_batch",
|
||||
self._get_partial_state_events_batch_txn,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue