diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-07-12 10:30:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 14:30:05 +0000 |
commit | 204b66c203564a019f1ecb4fb3909bfb375ce615 (patch) | |
tree | fef7e046407e986500c210649842424a19c6f015 | |
parent | Fix running with an empty experimental features section. (#15925) (diff) | |
download | synapse-204b66c203564a019f1ecb4fb3909bfb375ce615.tar.xz |
Remove unneeded __init__. (#15926)
Remove an __init__ which only calls super() without changing the input arguments.
-rw-r--r-- | changelog.d/15926.misc | 1 | ||||
-rw-r--r-- | synapse/federation/transport/server/federation.py | 9 |
2 files changed, 1 insertions, 9 deletions
diff --git a/changelog.d/15926.misc b/changelog.d/15926.misc new file mode 100644 index 0000000000..bf4c0fa5d0 --- /dev/null +++ b/changelog.d/15926.misc @@ -0,0 +1 @@ +Remove unneeded `__init__`. diff --git a/synapse/federation/transport/server/federation.py b/synapse/federation/transport/server/federation.py index 3a744e25be..3248953b48 100644 --- a/synapse/federation/transport/server/federation.py +++ b/synapse/federation/transport/server/federation.py @@ -432,15 +432,6 @@ class FederationV2SendJoinServlet(BaseFederationServerServlet): PREFIX = FEDERATION_V2_PREFIX - def __init__( - self, - hs: "HomeServer", - authenticator: Authenticator, - ratelimiter: FederationRateLimiter, - server_name: str, - ): - super().__init__(hs, authenticator, ratelimiter, server_name) - async def on_PUT( self, origin: str, |