fix: Do not make late-arriving events forward extremities

This commit is contained in:
Erwan Leboucher authored and Ellis Git committed 2026-08-18 16:55:47 +00:00
1 parent 7b3e3a26bb
commit 3efb66c76c
4 files changed
+27 -3

No files matched your search

@@ -154,9 +154,9 @@ impl super::Service {
.stream()
.fold(0_u8, |i, event_id| async move {
if self.services.timeline.pdu_exists(event_id).await {
i.expected_add(1)
} else {
i
} else {
i.expected_add(1)
}
})
.await;