oops forgot that endpoint too
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
6c75087863
commit
71d247232d
1 changed files with 1 additions and 4 deletions
|
@ -41,10 +41,7 @@ pub async fn get_public_rooms_filtered_route(
|
|||
.config
|
||||
.allow_public_room_directory_without_auth
|
||||
{
|
||||
let _sender_user = body
|
||||
.sender_user
|
||||
.as_ref()
|
||||
.ok_or_else(|| Error::BadRequest(ErrorKind::MissingToken, "Missing access token."))?;
|
||||
let _sender_user = body.sender_user.as_ref().expect("user is authenticated");
|
||||
}
|
||||
|
||||
get_public_rooms_filtered_helper(
|
||||
|
|
Loading…
Add table
Reference in a new issue