mirror of
https://github.com/element-hq/synapse.git
synced 2026-07-28 01:21:55 +00:00
Remove extra ids definition
Co-authored-by: Olivier 'reivilibre' <oliverw@element.io>
This commit is contained in:
co-authored by
Olivier 'reivilibre'
parent
ecd890a7af
commit
6a5adb9c04
@@ -232,8 +232,7 @@ class FilterCollection:
|
||||
profile_fields_filter = filter_json.get("org.matrix.msc4429.profile_fields")
|
||||
|
||||
if isinstance(profile_fields_filter, Mapping):
|
||||
ids = profile_fields_filter.get("ids", [])
|
||||
self.profile_fields = set(ids)
|
||||
self.profile_fields = set(profile_fields_filter.get("ids", []))
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return "<FilterCollection %s>" % (json.dumps(self._filter_json),)
|
||||
|
||||
Reference in New Issue
Block a user