diff options
author | Erik Johnston <erik@matrix.org> | 2021-06-28 14:17:08 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2021-06-28 14:17:56 +0100 |
commit | f271b32beaf5515eb798708f4a205f768260d8c2 (patch) | |
tree | 8819075c3a85634bb67ac91a980ba09038c14450 | |
parent | Don't send catchup transactions for matrix hq (diff) | |
download | synapse-erikj/disable_catchup_to_hq.tar.xz |
don't send out events for matrix.org github/erikj/disable_catchup_to_hq erikj/disable_catchup_to_hq
-rw-r--r-- | synapse/federation/sender/per_destination_queue.py | 7 |
1 files changed, 7 insertions, 0 deletions
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 ) |