diff options
author | Erik Johnston <erik@matrix.org> | 2019-05-24 09:52:33 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-05-24 09:52:33 +0100 |
commit | 4cb577c23f1399d233d72cee45efad36982f692a (patch) | |
tree | 00268434833aa7ae604d6f7a51f7aab6cf250b4b /synapse/handlers/message.py | |
parent | Newsfile (diff) | |
download | synapse-4cb577c23f1399d233d72cee45efad36982f692a.tar.xz |
Don't bundle aggs for /state and /members etc APIs
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/message.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 7b2c33a922..7e40cb6502 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -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) |