summary refs log tree commit diff
path: root/synapse/events
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-01-21 05:31:31 -0500
committerGitHub <noreply@github.com>2022-01-21 10:31:31 +0000
commitb784299cbc121d27d7dadd0a4a96f4657244a4e9 (patch)
tree18869b2a4b52395c1a48e2dece958b65b83ec5b4 /synapse/events
parentDrop unused table `public_room_list_stream`. (#11795) (diff)
downloadsynapse-b784299cbc121d27d7dadd0a4a96f4657244a4e9.tar.xz
Do not try to serialize raw aggregations dict. (#11791)
Diffstat (limited to 'synapse/events')
-rw-r--r--synapse/events/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py
index de0e0c1731..918adeecf8 100644
--- a/synapse/events/utils.py
+++ b/synapse/events/utils.py
@@ -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,