diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2023-05-30 14:37:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-30 14:37:39 +0100 |
commit | 5d8c659373ae2b169892fc9d99d54bd1b3baf65a (patch) | |
tree | 1ca639ae54430cc306b6f1654d61084be94795e6 | |
parent | Create dependabot changelogs at release time (#15481) (diff) | |
download | synapse-5d8c659373ae2b169892fc9d99d54bd1b3baf65a.tar.xz |
Remove unused `FederationServer.__str__` override (#15690)
Signed-off-by: Sean Quah <seanq@matrix.org>
-rw-r--r-- | changelog.d/15690.misc | 1 | ||||
-rw-r--r-- | synapse/federation/federation_server.py | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/changelog.d/15690.misc b/changelog.d/15690.misc new file mode 100644 index 0000000000..c6c259eb7d --- /dev/null +++ b/changelog.d/15690.misc @@ -0,0 +1 @@ +Remove some unused code. diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index f4ca70a698..e17cb840de 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -1291,9 +1291,6 @@ class FederationServer(FederationBase): return lock = new_lock - def __str__(self) -> str: - return "<ReplicationLayer(%s)>" % self.server_name - async def exchange_third_party_invite( self, sender_user_id: str, target_user_id: str, room_id: str, signed: Dict ) -> None: |