oops forgot that endpoint too
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -41,10 +41,7 @@ pub async fn get_public_rooms_filtered_route(
|
|||||||
.config
|
.config
|
||||||
.allow_public_room_directory_without_auth
|
.allow_public_room_directory_without_auth
|
||||||
{
|
{
|
||||||
let _sender_user = body
|
let _sender_user = body.sender_user.as_ref().expect("user is authenticated");
|
||||||
.sender_user
|
|
||||||
.as_ref()
|
|
||||||
.ok_or_else(|| Error::BadRequest(ErrorKind::MissingToken, "Missing access token."))?;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get_public_rooms_filtered_helper(
|
get_public_rooms_filtered_helper(
|
||||||
|
|||||||
Reference in New Issue
Block a user