log error for /publicRooms requests, simplify it a bit
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
9b5c8c124e
commit
e5307d44ca
3 changed files with 25 additions and 22 deletions
|
@ -265,6 +265,7 @@ where
|
|||
}
|
||||
},
|
||||
AuthScheme::None => match parts.uri.path() {
|
||||
// TOOD: can we do a better check here?
|
||||
// allow_public_room_directory_without_auth
|
||||
"/_matrix/client/v3/publicRooms" | "/_matrix/client/r0/publicRooms" => {
|
||||
if !services()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue