mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-12 14:53:58 +02:00
flatten auth chain iterations
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
eb7d893c86
commit
50acfe7832
8 changed files with 90 additions and 111 deletions
|
@ -56,8 +56,6 @@ pub(crate) async fn get_room_state_route(
|
|||
.rooms
|
||||
.auth_chain
|
||||
.event_ids_iter(&body.room_id, once(body.event_id.borrow()))
|
||||
.await?
|
||||
.map(Ok)
|
||||
.and_then(|id| async move { services.rooms.timeline.get_pdu_json(&id).await })
|
||||
.and_then(|pdu| {
|
||||
services
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue