diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-11-23 06:43:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 06:43:56 -0500 |
commit | 6a5dd485bd82b269e7e169c0385290d081eae801 (patch) | |
tree | 34296b57c6efd2daf3e5f5605bcbdd8fc31a2273 /synapse/rest/admin/rooms.py | |
parent | Add config for customizing the claim used for JWT logins. (#11361) (diff) | |
download | synapse-6a5dd485bd82b269e7e169c0385290d081eae801.tar.xz |
Refactor the code to inject bundled relations during serialization. (#11408)
Diffstat (limited to 'synapse/rest/admin/rooms.py')
-rw-r--r-- | synapse/rest/admin/rooms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/admin/rooms.py b/synapse/rest/admin/rooms.py index 5b8ec1e5ca..a89dda1ba5 100644 --- a/synapse/rest/admin/rooms.py +++ b/synapse/rest/admin/rooms.py @@ -448,7 +448,7 @@ class RoomStateRestServlet(RestServlet): now, # We don't bother bundling aggregations in when asked for state # events, as clients won't use them. - bundle_aggregations=False, + bundle_relations=False, ) ret = {"state": room_state} @@ -778,7 +778,7 @@ class RoomEventContextServlet(RestServlet): results["state"], time_now, # No need to bundle aggregations for state events - bundle_aggregations=False, + bundle_relations=False, ) return 200, results |