diff --git a/src/api/client/sync/v3/joined.rs b/src/api/client/sync/v3/joined.rs index 191defae..6cccf14e 100644 --- a/src/api/client/sync/v3/joined.rs +++ b/src/api/client/sync/v3/joined.rs @@ -66,7 +66,6 @@ pub(super) async fn load_joined_room( */ let insert_lock = services.rooms.timeline.mutex_insert.lock(room_id).await; - #[cfg(feature = "sync-drop-instant")] drop(insert_lock); let ( account_data, @@ -85,8 +84,6 @@ pub(super) async fn load_joined_room( ) .boxed() .await?; - #[cfg(not(feature = "sync-drop-instant"))] - drop(insert_lock); if !timeline.is_empty() || !state_events.is_empty() { trace!(