Maybe don't return deactivated users through the API
Deactivated users will still get returned by account endpoints, like /api/v1/accounts/:id
, with ['pleroma', 'deactivated']
== true on them. The frontend can then handle this case, but I think maybe it's better to just not return the user at all. This way the frontend just fall back on its usual "404 not found" logic.