revert get extremity locking

This commit is contained in:
Jacob Taylor 2025-09-06 10:36:19 -07:00
commit 879c8e527b
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -42,7 +42,7 @@ pub async fn create_hash_and_sign_event(
let prev_events: Vec<OwnedEventId> = self
.services
.state
.get_forward_extremities(room_id, _mutex_lock)
.get_forward_extremities(room_id)
.take(20)
.map(Into::into)
.collect()