1
0

fixup! Move stitched_ordering property to EventBase

This commit is contained in:
Richard van der Hoff
2025-09-03 13:57:15 +01:00
parent d3710a6fd7
commit 77bfaf91cc

View File

@@ -2387,9 +2387,8 @@ class FederationEventHandler:
)
raise SynapseError(HTTPStatus.BAD_REQUEST, "Too many auth_events")
def find_predecessors(
event_ids: Iterable[str], batch: List[EventBase]
) -> Set[str]:
def find_predecessors(event_ids: Iterable[str], batch: List[EventBase]) -> Set[str]:
"""
Walk the tree of dependencies (in batch), and return every event that is
in batch, and is an ancestor of one of the supplied events.