lock the getter instead ??? c/o M

This commit is contained in:
Jacob Taylor 2025-06-18 16:57:19 -07:00
commit a0e77327f3
3 changed files with 3 additions and 2 deletions

View file

@ -141,7 +141,7 @@ pub(super) async fn upgrade_outlier_to_timeline_pdu(
let extremities: Vec<_> = self
.services
.state
.get_forward_extremities(room_id)
.get_forward_extremities(room_id, &state_lock)
.map(ToOwned::to_owned)
.ready_filter(|event_id| {
// Remove any that are referenced by this incoming event's prev_events