Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove unused FederationServer.__str__ override (#15690)
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Quah <[email protected]>
  • Loading branch information
squahtx authored and H-Shay committed May 31, 2023
1 parent 11e15d7 commit ab5488f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions changelog.d/15690.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove some unused code.
3 changes: 0 additions & 3 deletions synapse/federation/federation_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1291,9 +1291,6 @@ async def _process_incoming_pdus_in_room_inner(
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:
Expand Down

0 comments on commit ab5488f

Please sign in to comment.