From f271b32beaf5515eb798708f4a205f768260d8c2 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Mon, 28 Jun 2021 14:17:08 +0100 Subject: don't send out events for matrix.org --- synapse/federation/sender/per_destination_queue.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py index 3a2efd56ee..a44cc781c8 100644 --- a/synapse/federation/sender/per_destination_queue.py +++ b/synapse/federation/sender/per_destination_queue.py @@ -287,6 +287,13 @@ class PerDestinationQueue: len(pending_pdus), ) + # Filter out HQ traffic for now + pending_pdus = [ + pdu + for pdu in pending_pdus + if pdu.room_id != "!OGEhHVWSdvArJzumhm:matrix.org" + ] + await self._transaction_manager.send_new_transaction( self._destination, pending_pdus, pending_edus ) -- cgit 1.5.1