mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-21 08:28:46 -04:00
Glue only_event_fields into the sync rest servlet
This commit is contained in:
parent
0a8b0eeca1
commit
cea4e4e7b2
3 changed files with 15 additions and 11 deletions
|
@ -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),)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue