Renamed the things

This commit is contained in:
Karen Konou 2018-12-23 11:14:29 +01:00
commit c76179419d
3 changed files with 3 additions and 3 deletions

View file

@ -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}