mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 16:34:48 -04:00
Merge pull request #5220 from matrix-org/erikj/dont_bundle_live_events
Don't bundle aggregations with events in /sync or /events or state queries
This commit is contained in:
commit
d16f5574b6
5 changed files with 13 additions and 2 deletions
|
@ -166,6 +166,9 @@ class MessageHandler(object):
|
|||
now = self.clock.time_msec()
|
||||
events = yield self._event_serializer.serialize_events(
|
||||
room_state.values(), now,
|
||||
# We don't bother bundling aggregations in when asked for state
|
||||
# events, as clients won't use them.
|
||||
bundle_aggregations=False,
|
||||
)
|
||||
defer.returnValue(events)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue