mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-12-04 06:11:47 +00:00
fix: Do not make late-arriving events forward extremities
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user