mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-18 02:23:52 +01:00
Don't bundle aggs for /state and /members etc APIs
This commit is contained in:
parent
ef13dc4846
commit
4cb577c23f
1 changed files with 3 additions and 0 deletions
|
@ -166,6 +166,9 @@ class MessageHandler(object):
|
||||||
now = self.clock.time_msec()
|
now = self.clock.time_msec()
|
||||||
events = yield self._event_serializer.serialize_events(
|
events = yield self._event_serializer.serialize_events(
|
||||||
room_state.values(), now,
|
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)
|
defer.returnValue(events)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue