diff options
author | David Robertson <davidr@element.io> | 2023-03-10 12:08:17 +0000 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2023-03-10 12:08:17 +0000 |
commit | 85a98b1023a330c4c6179cc5c5660fbb54d5bb51 (patch) | |
tree | 0bcde66d5ced2f6222db7963bd764fbe8dd4df5f /synapse/handlers | |
parent | Require explicit boolean options from callers (diff) | |
download | synapse-85a98b1023a330c4c6179cc5c5660fbb54d5bb51.tar.xz |
Add explicit option for partial state rooms
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/federation.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index f3e7b4ef17..26883b8ca4 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -401,6 +401,7 @@ class FederationHandler: events_to_check, redact=False, filter_out_erased_senders=False, + filter_out_partial_state_rooms=False, ) if filtered_extremities: extremities_to_request.append(bp.event_id) @@ -1337,6 +1338,7 @@ class FederationHandler: events, redact=True, filter_out_erased_senders=True, + filter_out_partial_state_rooms=True, ) return events @@ -1373,6 +1375,7 @@ class FederationHandler: [event], redact=True, filter_out_erased_senders=True, + filter_out_partial_state_rooms=True, ) event = events[0] return event @@ -1406,6 +1409,7 @@ class FederationHandler: missing_events, redact=True, filter_out_erased_senders=True, + filter_out_partial_state_rooms=True, ) return missing_events |