Skip to content

Commit 6c9f693

Browse files
committed
Don't send presence to matrix.org
1 parent 2a44292 commit 6c9f693

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

synapse/federation/sender/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,11 @@ def send_presence_to_destinations(
721721
for destination in destinations:
722722
if destination == self.server_name:
723723
continue
724+
725+
# T2B: Skip sending presence to servers we know don't support it
726+
if destination == "matrix.org":
727+
continue
728+
724729
if not self._federation_shard_config.should_handle(
725730
self._instance_name, destination
726731
):

0 commit comments

Comments
 (0)