diff options
author | Kegan Dougal <kegan@matrix.org> | 2016-11-22 10:14:05 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2016-11-22 10:14:05 +0000 |
commit | cea4e4e7b2534f85abbb90a0cc07125db0aa1727 (patch) | |
tree | 8dbb90f246b4230ac0fe72cd8c81662b997d3057 /synapse/api | |
parent | More tests (diff) | |
download | synapse-cea4e4e7b2534f85abbb90a0cc07125db0aa1727.tar.xz |
Glue only_event_fields into the sync rest servlet
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/filtering.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/api/filtering.py b/synapse/api/filtering.py index 4fd0e2d9fa..6f16e4d406 100644 --- a/synapse/api/filtering.py +++ b/synapse/api/filtering.py @@ -167,6 +167,7 @@ class FilterCollection(object): self.include_leave = filter_json.get("room", {}).get( "include_leave", False ) + self.event_fields = filter_json.get("event_fields", []) def __repr__(self): return "<FilterCollection %s>" % (json.dumps(self._filter_json),) |