Skip to content
Snippets Groups Projects
Commit 4cb577c2 authored by Erik Johnston's avatar Erik Johnston
Browse files

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

parent ef13dc48
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment