diff options
author | Sorunome <mail@sorunome.de> | 2020-01-19 15:09:46 +0100 |
---|---|---|
committer | Sorunome <mail@sorunome.de> | 2020-01-19 15:09:46 +0100 |
commit | 1e63b595c3461398d95cb228b7b1de41519535ee (patch) | |
tree | 8a0e18ffd1c98cb84a73411b4ebb6df54c6d637c /synapse/federation | |
parent | get knock working over federation (diff) | |
download | synapse-1e63b595c3461398d95cb228b7b1de41519535ee.tar.xz |
fix lint
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/federation_client.py | 2 | ||||
-rw-r--r-- | synapse/federation/transport/server.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index 9faf26ab8b..ae379820c3 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -823,7 +823,7 @@ class FederationClient(FederationBase): destination=destination, room_id=pdu.room_id, event_id=pdu.event_id, - content=pdu.get_pdu_json(time_now) + content=pdu.get_pdu_json(time_now), ) return content diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index 11a1358068..55a1f98753 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -549,6 +549,7 @@ class FederationMakeKnockServlet(BaseFederationServlet): content = await self.handler.on_make_knock_request(origin, context, user_id) return 200, content + class FederationV1MakeKnockServlet(BaseFederationServlet): PATH = "/send_knock/(?P<room_id>[^/]*)/(?P<event_id>[^/]*)" @@ -556,6 +557,7 @@ class FederationV1MakeKnockServlet(BaseFederationServlet): content = await self.handler.on_send_knock_request(origin, content, room_id) return 200, content + class FederationEventAuthServlet(BaseFederationServlet): PATH = "/event_auth/(?P<context>[^/]*)/(?P<event_id>[^/]*)" |