Skip to content

Commit e79eece

Browse files
committed
Don't send presence to matrix.org
1 parent 84121bd commit e79eece

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

synapse/federation/sender/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,10 @@ async def send_presence_to_destinations(
882882
if self.is_mine_server_name(destination):
883883
continue
884884

885+
# T2B: Skip sending presence to servers we know don't support it
886+
if destination == "matrix.org":
887+
continue
888+
885889
self._get_per_destination_queue(destination).send_presence(
886890
states, start_loop=False
887891
)

0 commit comments

Comments
 (0)