lock the getter instead ??? c/o M

This commit is contained in:
Jacob Taylor 2025-07-03 14:39:10 -07:00
commit 7a72d872de
3 changed files with 3 additions and 2 deletions

View file

@ -388,6 +388,7 @@ impl Service {
pub fn get_forward_extremities<'a>(
&'a self,
room_id: &'a RoomId,
_state_lock: &'a RoomMutexGuard,
) -> impl Stream<Item = &EventId> + Send + '_ {
let prefix = (room_id, Interfix);