2018-04-14 11:20:18 +02:00
|
|
|
defmodule Pleroma.Web.ActivityPub.MRF.DropPolicy do
|
|
|
|
require Logger
|
2018-05-10 18:34:09 +02:00
|
|
|
@behaviour Pleroma.Web.ActivityPub.MRF
|
2018-04-14 11:20:18 +02:00
|
|
|
|
2018-05-10 18:34:09 +02:00
|
|
|
@impl true
|
2018-04-14 11:20:18 +02:00
|
|
|
def filter(object) do
|
|
|
|
Logger.info("REJECTING #{inspect(object)}")
|
|
|
|
{:reject, object}
|
|
|
|
end
|
|
|
|
end
|