Implement MSC4185

This commit is contained in:
Lambda 2024-08-30 22:11:29 +00:00
parent f03b6cde29
commit f965bf2b6a
5 changed files with 72 additions and 6 deletions

View file

@ -414,7 +414,8 @@ fn routes(config: &Config) -> Router {
.ruma_route(c2s::get_relating_events_with_rel_type_and_event_type_route)
.ruma_route(c2s::get_relating_events_with_rel_type_route)
.ruma_route(c2s::get_relating_events_route)
.ruma_route(c2s::get_hierarchy_route);
.ruma_route(c2s::get_hierarchy_route)
.ruma_route(c2s::can_user_see_event_route);
// Ruma doesn't have support for multiple paths for a single endpoint yet,
// and these routes share one Ruma request / response type pair with