diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-10-31 04:24:59 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 04:24:59 +1100 |
commit | 2e223a8c22ef7f65aa42fd149f178a842b60e3c7 (patch) | |
tree | b53ccc0dc15d5a52be62a6b72528fdf582f6d901 /synapse/federation/transport/server.py | |
parent | Merge pull request #4006 from matrix-org/erikj/purge_state_groups (diff) | |
download | synapse-2e223a8c22ef7f65aa42fd149f178a842b60e3c7.tar.xz |
Remove the unused /pull federation API (#4118)
Diffstat (limited to 'synapse/federation/transport/server.py')
-rw-r--r-- | synapse/federation/transport/server.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index 7288d49074..3553f418f1 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -362,14 +362,6 @@ class FederationSendServlet(BaseFederationServlet): defer.returnValue((code, response)) -class FederationPullServlet(BaseFederationServlet): - PATH = "/pull/" - - # This is for when someone asks us for everything since version X - def on_GET(self, origin, content, query): - return self.handler.on_pull_request(query["origin"][0], query["v"]) - - class FederationEventServlet(BaseFederationServlet): PATH = "/event/(?P<event_id>[^/]*)/" @@ -1261,7 +1253,6 @@ class FederationGroupsSettingJoinPolicyServlet(BaseFederationServlet): FEDERATION_SERVLET_CLASSES = ( FederationSendServlet, - FederationPullServlet, FederationEventServlet, FederationStateServlet, FederationStateIdsServlet, |