excluded invisible actors from gets /api/v1/accounts/:id

This commit is contained in:
Maksim Pechnikov 2019-11-04 20:44:24 +03:00
commit 4b7c11e3f9
6 changed files with 82 additions and 16 deletions

View file

@ -14,7 +14,6 @@ defmodule Pleroma.Web.ActivityPub.Relay do
relay_ap_id()
|> User.get_or_create_service_actor_by_ap_id()
{:ok, actor} = User.set_invisible(actor, true)
actor
end