mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Don't include latest_events in output
This commit is contained in:
@@ -96,6 +96,10 @@ pub(crate) async fn get_missing_events_route(
|
|||||||
);
|
);
|
||||||
queue.extend(pdu.prev_events.clone());
|
queue.extend(pdu.prev_events.clone());
|
||||||
seen.insert(next_event_id.clone());
|
seen.insert(next_event_id.clone());
|
||||||
|
if body.latest_events.contains(&next_event_id) {
|
||||||
|
continue; // Don't include latest_events in results,
|
||||||
|
// but do include their prev_events in the queue
|
||||||
|
}
|
||||||
results.push(
|
results.push(
|
||||||
services
|
services
|
||||||
.sending
|
.sending
|
||||||
|
|||||||
Reference in New Issue
Block a user