diff options
author | David Robertson <davidr@element.io> | 2023-03-10 15:31:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 15:31:25 +0000 |
commit | 4bb26c95a931e0be79d6ab9649e4338f7467a987 (patch) | |
tree | 10ba9ca04593f35088e0aeee981f20d18fada492 /synapse/federation/sender | |
parent | Fix missing conditional for registering `on_remove_user_third_party_identifie... (diff) | |
download | synapse-4bb26c95a931e0be79d6ab9649e4338f7467a987.tar.xz |
Refactor `filter_events_for_server` (#15240)
* Tweak docstring and type hint * Flip logic and provide better name * Separate decision from action * Track a set of strings, not EventBases * Require explicit boolean options from callers * Add explicit option for partial state rooms * Changelog * Rename param
Diffstat (limited to 'synapse/federation/sender')
-rw-r--r-- | synapse/federation/sender/per_destination_queue.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py index ffc9d95ee7..478187ce44 100644 --- a/synapse/federation/sender/per_destination_queue.py +++ b/synapse/federation/sender/per_destination_queue.py @@ -547,6 +547,8 @@ class PerDestinationQueue: self._server_name, new_pdus, redact=False, + filter_out_erased_senders=True, + filter_out_remote_partial_state_events=True, ) # If we've filtered out all the extremities, fall back to |