add recursion_depth None for now
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
0d50dfd7cf
commit
e9793868ec
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
})
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue