Fix invisible actors defp in ap

This commit is contained in:
Chizu 2023-03-17 04:38:28 +09:00
parent 2c89802c82
commit a0a1b92af8

View file

@ -1301,6 +1301,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
end end
end end
defp exclude_invisible_actors(query, %{type: "Flag"}), do: query
defp exclude_invisible_actors(query, %{invisible_actors: true}), do: query defp exclude_invisible_actors(query, %{invisible_actors: true}), do: query
defp exclude_invisible_actors(query, _opts) do defp exclude_invisible_actors(query, _opts) do