fix doc-lazy-continuation
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
83565007bb
commit
30e7298dd7
7 changed files with 16 additions and 25 deletions
|
@ -13,8 +13,7 @@ use crate::{services, Error, Result, Ruma};
|
|||
/// Allows loading room history around an event.
|
||||
///
|
||||
/// - Only works if the user is joined (TODO: always allow, but only show events
|
||||
/// if the user was
|
||||
/// joined, depending on history_visibility)
|
||||
/// if the user was joined, depending on history_visibility)
|
||||
pub(crate) async fn get_context_route(body: Ruma<get_context::v3::Request>) -> Result<get_context::v3::Response> {
|
||||
let sender_user = body.sender_user.as_ref().expect("user is authenticated");
|
||||
let sender_device = body.sender_device.as_ref().expect("user is authenticated");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue