fix: Actually check backoff before attempting to fetch prevs

This commit is contained in:
timedout
2026-09-01 16:24:18 +00:00
committed by Ellis Git
parent ebf48d1b08
commit 32c652d67d
@@ -626,6 +626,10 @@ pub(super) async fn fetch_prev_events<Pdu>(
if discovered_events.contains_key(&next_id) {
continue;
}
if let Err(e) = self.ensure_can_pull_event(&next_id) {
debug_warn!(error=?e, "Not attempting to pull missing prev event");
continue;
}
let pdu = match self
.fetch_event_vias(candidates.iter(), &next_id, room_version_rules)
.await