server_server: implement authenticated media endpoints

This commit is contained in:
Lambda 2024-07-21 19:58:05 +00:00
parent 79053ad052
commit d3b6718812
2 changed files with 81 additions and 2 deletions

View file

@ -501,6 +501,8 @@ fn routes(config: &Config) -> Router {
.ruma_route(s2s::get_profile_information_route)
.ruma_route(s2s::get_keys_route)
.ruma_route(s2s::claim_keys_route)
.ruma_route(s2s::media_download_route)
.ruma_route(s2s::media_thumbnail_route)
} else {
router
.route("/_matrix/federation/*path", any(federation_disabled))