chain_width to 50

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-04-22 04:42:26 +00:00
parent 9b658d86b2
commit 76509830e6
190 changed files with 3469 additions and 930 deletions

View File

@@ -49,8 +49,19 @@ pub(crate) async fn get_event_authorization_route(
.auth_chain
.event_ids_iter(room_id, once(body.event_id.borrow()))
.ready_filter_map(Result::ok)
.filter_map(|id| async move { services.rooms.timeline.get_pdu_json(&id).await.ok() })
.then(|pdu| services.sending.convert_to_outgoing_federation_event(pdu))
.filter_map(|id| async move {
services
.rooms
.timeline
.get_pdu_json(&id)
.await
.ok()
})
.then(|pdu| {
services
.sending
.convert_to_outgoing_federation_event(pdu)
})
.collect()
.await;