1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-08-06 17:40:59 +00:00
This commit is contained in:
mikoto 2024-05-07 07:42:10 +02:00
parent 624d1fcc9a
commit de806e5d1b
2 changed files with 132 additions and 44 deletions

View file

@ -194,10 +194,10 @@ pub async fn get_context_route(
.map(|(count, _)| count.stringify())
.unwrap_or_else(|| base_token.stringify());
let events_after: Vec<_> = events_after
let events_after = events_after
.into_iter()
.map(|(_, pdu)| pdu.to_room_event())
.collect();
.map(|(_, pdu)| pdu.to_room_event());
// .collect();
let mut state = Vec::new();