Loading lib/pleroma/web/activity_pub/mrf/remote_report_policy.ex +2 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,8 @@ defp maybe_reject_anonymous(%{"actor" => actor} = object) do end defp maybe_reject_third_party(%{"object" => objects} = object) do {_, to} = case objects do {_, to} = case objects do [head | tail] when is_binary(head) -> {tail, head} s when is_binary(s) -> {[], s} _ -> {[], ""} Loading Loading
lib/pleroma/web/activity_pub/mrf/remote_report_policy.ex +2 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,8 @@ defp maybe_reject_anonymous(%{"actor" => actor} = object) do end defp maybe_reject_third_party(%{"object" => objects} = object) do {_, to} = case objects do {_, to} = case objects do [head | tail] when is_binary(head) -> {tail, head} s when is_binary(s) -> {[], s} _ -> {[], ""} Loading