mirror of
https://github.com/element-hq/synapse.git
synced 2026-07-30 18:19:44 +00:00
Remove unnecessary if
This commit is contained in:
@@ -233,8 +233,6 @@ class FilterCollection:
|
||||
|
||||
if isinstance(profile_fields_filter, Mapping):
|
||||
ids = profile_fields_filter.get("ids", [])
|
||||
if ids is None:
|
||||
ids = []
|
||||
self.profile_fields = set(ids)
|
||||
|
||||
def __repr__(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user