mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-08-27 08:29:45 +00:00
fix: Don't only include referenced extremities
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
sync::Arc,
|
||||
time::Instant,
|
||||
};
|
||||
|
||||
use std::ops::Not;
|
||||
use conduwuit::{
|
||||
Err, Result, debug, debug_warn,
|
||||
matrix::{Event, PduEvent},
|
||||
@@ -190,6 +190,7 @@ async fn progress_state_and_extremities(
|
||||
.pdu_metadata
|
||||
.is_event_referenced(&incoming_pdu.room_id_or_hash(), &extremity)
|
||||
.await
|
||||
.not()
|
||||
.then_some(extremity)
|
||||
})
|
||||
.collect()
|
||||
|
||||
Reference in New Issue
Block a user