Renamed the things
This commit is contained in:
parent
c92f91ffeb
commit
c76179419d
3 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.HellthreadPolicy do
|
|||
|
||||
@impl true
|
||||
def filter(object) do
|
||||
policy = Pleroma.Config.get(:mrf_hellthreadmitigation)
|
||||
policy = Pleroma.Config.get(:mrf_hellthread)
|
||||
|
||||
if length(object["to"]) + length(object["cc"]) > Keyword.get(policy, :threshold) do
|
||||
{:reject, nil}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue