[#1505] Restricted max thread distance for fetching replies on incoming federation (in addition to reply-to depth restriction).
This commit is contained in:
parent
b95dd5e217
commit
269d592181
8 changed files with 120 additions and 31 deletions
|
|
@ -12,9 +12,9 @@ defmodule Pleroma.Workers.RemoteFetcherWorker do
|
|||
%{
|
||||
"op" => "fetch_remote",
|
||||
"id" => id
|
||||
},
|
||||
} = args,
|
||||
_job
|
||||
) do
|
||||
{:ok, _object} = Fetcher.fetch_object_from_id(id)
|
||||
{:ok, _object} = Fetcher.fetch_object_from_id(id, depth: args["depth"])
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue