diff options
author | Erik Johnston <erikj@matrix.org> | 2023-10-27 10:04:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-27 09:04:08 +0000 |
commit | c02406ac711095eedbeeff229af8e368f77196aa (patch) | |
tree | 4585ed545c0ed40240dc78c524344fb42a13d2d8 /synapse/handlers/pagination.py | |
parent | Remove more usages of cursor_to_dict. (#16551) (diff) | |
download | synapse-c02406ac711095eedbeeff229af8e368f77196aa.tar.xz |
Add new module API for adding custom fields to events `unsigned` section (#16549)
Diffstat (limited to 'synapse/handlers/pagination.py')
-rw-r--r-- | synapse/handlers/pagination.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/pagination.py b/synapse/handlers/pagination.py index 878f267a4e..87e51bca48 100644 --- a/synapse/handlers/pagination.py +++ b/synapse/handlers/pagination.py @@ -657,7 +657,7 @@ class PaginationHandler: chunk = { "chunk": ( - self._event_serializer.serialize_events( + await self._event_serializer.serialize_events( events, time_now, config=serialize_options, @@ -669,7 +669,7 @@ class PaginationHandler: } if state: - chunk["state"] = self._event_serializer.serialize_events( + chunk["state"] = await self._event_serializer.serialize_events( state, time_now, config=serialize_options ) |