mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 02:34:50 -04:00
Do not try to serialize raw aggregations dict. (#11791)
This commit is contained in:
parent
9f2016e96e
commit
b784299cbc
7 changed files with 87 additions and 56 deletions
|
@ -402,7 +402,7 @@ class EventClientSerializer:
|
|||
if bundle_aggregations:
|
||||
event_aggregations = bundle_aggregations.get(event.event_id)
|
||||
if event_aggregations:
|
||||
self._injected_bundled_aggregations(
|
||||
self._inject_bundled_aggregations(
|
||||
event,
|
||||
time_now,
|
||||
bundle_aggregations[event.event_id],
|
||||
|
@ -411,7 +411,7 @@ class EventClientSerializer:
|
|||
|
||||
return serialized_event
|
||||
|
||||
def _injected_bundled_aggregations(
|
||||
def _inject_bundled_aggregations(
|
||||
self,
|
||||
event: EventBase,
|
||||
time_now: int,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue