add recursion_depth None for now

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-27 13:38:15 -04:00 committed by June
parent 0d50dfd7cf
commit e9793868ec
2 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,7 @@ pub async fn get_relating_events_with_rel_type_and_event_type_route(
chunk: res.chunk,
next_batch: res.next_batch,
prev_batch: res.prev_batch,
recursion_depth: None, // TODO
})
}
@ -97,6 +98,7 @@ pub async fn get_relating_events_with_rel_type_route(
chunk: res.chunk,
next_batch: res.next_batch,
prev_batch: res.prev_batch,
recursion_depth: None, // TODO
})
}

View File

@ -91,6 +91,7 @@ impl Service {
chunk: events_after,
next_batch: next_token.map(|t| t.stringify()),
prev_batch: Some(from.stringify()),
recursion_depth: None, // TODO
})
},
ruma::api::Direction::Backward => {
@ -135,6 +136,7 @@ impl Service {
chunk: events_before,
next_batch: next_token.map(|t| t.stringify()),
prev_batch: Some(from.stringify()),
recursion_depth: None, // TODO
})
},
}