X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Factivity_pub%2Fmrf%2Fgab_rewrite_policy.ex;h=fe48b848e4cb80eeb737a073d5ae5d0ab197808a;hb=c2a1bac5de9a3e724982210c0f2154fae99177d4;hp=686f1c919fa847906f35fa2c447674d84d578eb6;hpb=0843f3e0b678937aa9e025c1366fe66a41b08e35;p=akkoma diff --git a/lib/pleroma/web/activity_pub/mrf/gab_rewrite_policy.ex b/lib/pleroma/web/activity_pub/mrf/gab_rewrite_policy.ex index 686f1c919..fe48b848e 100644 --- a/lib/pleroma/web/activity_pub/mrf/gab_rewrite_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/gab_rewrite_policy.ex @@ -25,13 +25,20 @@ defmodule Pleroma.Web.ActivityPub.MRF.GABRewritePolicy do "I called Mr uber", "Coconut oil.", "price for apple sauce at walmart", - "no SWEARING on my timeline!" + "no SWEARING on my timeline!", + "MILK TRUK JUST ARRIVE", + "Also my catheter bag is full.", + "Go finish your yoghurt", + "I am going to slap your mouth grandson." ] def add(%{"object" => %{"content" => content}} = object) do put_in(object, ["object", "content"], content <> " " <> Enum.random(@appends)) end + @impl true + def describe, do: {:ok, %{}} + @impl true def filter(%{"type" => "Create", "actor" => actor} = object) do actor_info = URI.parse(actor)