diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-12-20 14:14:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 14:14:38 -0500 |
commit | dd4778875213d9cb8be7ee71d32751fbd6cdaba2 (patch) | |
tree | bc638f5df3a1e60a5cb2b15b8177810c2f49d700 /synapse/events | |
parent | Improve opentracing support for `ResponseCache` (#11607) (diff) | |
download | synapse-dd4778875213d9cb8be7ee71d32751fbd6cdaba2.tar.xz |
Do not bundle aggregations for APIs which shouldn't include them. (#11592)
And make bundling aggregations opt-in, instead of opt-out to avoid having APIs to include extraneous data (and being much heavier than necessary).
Diffstat (limited to 'synapse/events')
-rw-r--r-- | synapse/events/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py index 3da432c1df..2038e72924 100644 --- a/synapse/events/utils.py +++ b/synapse/events/utils.py @@ -395,7 +395,7 @@ class EventClientSerializer: event: Union[JsonDict, EventBase], time_now: int, *, - bundle_aggregations: bool = True, + bundle_aggregations: bool = False, **kwargs: Any, ) -> JsonDict: """Serializes a single event. |