fixup! Move stitched_ordering property to EventBase
This commit is contained in:
@@ -208,7 +208,7 @@ class EventBase(metaclass=abc.ABCMeta):
|
||||
|
||||
self.internal_metadata = EventInternalMetadata(internal_metadata_dict)
|
||||
|
||||
self._stitched_ordering = None
|
||||
self._stitched_ordering: Optional[int] = None
|
||||
|
||||
depth: DictProperty[int] = DictProperty("depth")
|
||||
content: DictProperty[JsonDict] = DictProperty("content")
|
||||
|
||||
@@ -1298,7 +1298,7 @@ async def assign_stitched_orders(
|
||||
gap_events = await store.db_pool.simple_select_many_batch(
|
||||
"event_backward_extremities",
|
||||
"event_id",
|
||||
(ev.event_id for (ev, _) in events_and_contexts),
|
||||
(ev.event_id for ev in remaining_batch),
|
||||
["event_id", "before_gap_event_id"],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user