Skip to content

Commit

Permalink
Don't send presence to matrix.org
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Oct 11, 2023
1 parent d0430fc commit 35a2ac2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synapse/federation/sender/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,11 @@ def send_presence_to_destinations(
for destination in destinations:
if self.is_mine_server_name(destination):
continue

# T2B: Skip sending presence to servers we know don't support it
if destination == "matrix.org":
continue

if not self._federation_shard_config.should_handle(
self._instance_name, destination
):
Expand Down

0 comments on commit 35a2ac2

Please sign in to comment.