MatrixSynapse/synapse/events
Patrick Cloke 2897fb6b4f
Improvements to bundling aggregations. (#11815)
This is some odds and ends found during the review of #11791
and while continuing to work in this code:

* Return attrs classes instead of dictionaries from some methods
  to improve type safety.
* Call `get_bundled_aggregations` fewer times.
* Adds a missing assertion in the tests.
* Do not return empty bundled aggregations for an event (preferring
  to not include the bundle at all, as the docstring states).
2022-01-26 08:27:04 -05:00
..
__init__.py Add `FrozenEvent.get_state_key` and use it in a couple of places (#11793) 2022-01-21 09:10:01 +00:00
builder.py Get db signatures file to pass mypy (#11312) 2021-11-11 17:04:44 +00:00
presence_router.py
snapshot.py Add `FrozenEvent.get_state_key` and use it in a couple of places (#11793) 2022-01-21 09:10:01 +00:00
spamcheck.py
third_party_rules.py
utils.py Improvements to bundling aggregations. (#11815) 2022-01-26 08:27:04 -05:00
validator.py Fix another jsonschema typecheck error (#11830) 2022-01-25 15:29:28 -05:00