Don't bundle aggs for /state and /members etc APIs

This commit is contained in:
Erik Johnston 2019-05-24 09:52:33 +01:00
parent ef13dc4846
commit 4cb577c23f

View File

@ -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)