diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-03-17 08:04:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 08:04:49 -0400 |
commit | 7581d30e9f939263f9ab07644f269b6e7cd2d226 (patch) | |
tree | f5b0d2a533a895f1be6c4bee3e7b7197e82bdf41 /synapse/federation/transport | |
parent | Remove special casing of `m.room.aliases` events (#7034) (diff) | |
download | synapse-7581d30e9f939263f9ab07644f269b6e7cd2d226.tar.xz |
Remove unused federation endpoint (`query_auth`) (#7026)
Diffstat (limited to 'synapse/federation/transport')
-rw-r--r-- | synapse/federation/transport/server.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index 92a9ae2320..af4595498c 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -643,17 +643,6 @@ class FederationClientKeysClaimServlet(BaseFederationServlet): return 200, response -class FederationQueryAuthServlet(BaseFederationServlet): - PATH = "/query_auth/(?P<context>[^/]*)/(?P<event_id>[^/]*)" - - async def on_POST(self, origin, content, query, context, event_id): - new_content = await self.handler.on_query_auth_request( - origin, content, context, event_id - ) - - return 200, new_content - - class FederationGetMissingEventsServlet(BaseFederationServlet): # TODO(paul): Why does this path alone end with "/?" optional? PATH = "/get_missing_events/(?P<room_id>[^/]*)/?" @@ -1412,7 +1401,6 @@ FEDERATION_SERVLET_CLASSES = ( FederationV2SendLeaveServlet, FederationV1InviteServlet, FederationV2InviteServlet, - FederationQueryAuthServlet, FederationGetMissingEventsServlet, FederationEventAuthServlet, FederationClientKeysQueryServlet, |