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

Remove unused FederationServer.__str__ override #15690

Merged
merged 1 commit into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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