mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:46:04 -04:00
Don't bundle events in /sync or /events
As we'll send down the annotations too anyway, so this just ends up confusing clients.
This commit is contained in:
parent
04d53794d6
commit
de7672b78f
3 changed files with 9 additions and 2 deletions
|
@ -358,6 +358,9 @@ class SyncRestServlet(RestServlet):
|
|||
def serialize(events):
|
||||
return self._event_serializer.serialize_events(
|
||||
events, time_now=time_now,
|
||||
# We don't bundle "live" events, as otherwise clients
|
||||
# will end up double counting annotations.
|
||||
bundle_aggregations=False,
|
||||
token_id=token_id,
|
||||
event_format=event_formatter,
|
||||
only_event_fields=only_fields,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue