Rebox future segmentations.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-07-08 11:48:45 +00:00
parent aac49b09c7
commit 18f8d6c65c
14 changed files with 43 additions and 32 deletions

View File

@@ -728,7 +728,6 @@ async fn load_joined_room(
joined_since_last_sync,
witness.as_ref(),
)
.boxed()
.await?;
let is_sender_membership = |pdu: &PduEvent| {
@@ -1075,8 +1074,7 @@ async fn calculate_state_incremental<'a>(
.rooms
.state_accessor
.state_full_shortids(current_shortstatehash)
.expect_ok()
.boxed(),
.expect_ok(),
)
})
.into();
@@ -1108,6 +1106,7 @@ async fn calculate_state_incremental<'a>(
.ok()
})
.collect::<Vec<_>>()
.boxed()
.await;
let (device_list_updates, left_encrypted_users) = state_events