diff --git a/synapse/rest/admin/users.py b/synapse/rest/admin/users.py index fe1c4471049..a9645e4af7c 100644 --- a/synapse/rest/admin/users.py +++ b/synapse/rest/admin/users.py @@ -183,9 +183,7 @@ def _filter(a: attr.Attribute) -> bool: return HTTPStatus.OK, ret - def _parse_parameter_deactivated( - self, request: SynapseRequest - ) -> Optional[bool]: + def _parse_parameter_deactivated(self, request: SynapseRequest) -> Optional[bool]: """ Return None (no filtering) if `deactivated` is `true`, otherwise return `False` (exclude deactivated users from the results).