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
Showing
- changelog.d/15240.misc 1 addition, 0 deletionschangelog.d/15240.misc
- synapse/federation/sender/per_destination_queue.py 2 additions, 0 deletionssynapse/federation/sender/per_destination_queue.py
- synapse/handlers/federation.py 24 additions, 5 deletionssynapse/handlers/federation.py
- synapse/visibility.py 47 additions, 20 deletionssynapse/visibility.py
- tests/test_visibility.py 35 additions, 5 deletionstests/test_visibility.py
changelog.d/15240.misc
0 → 100644
Please register or sign in to comment