projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
mrf
/
gab_rewrite_policy.ex
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 686f1c919fa847906f35fa2c447674d84d578eb6..fe48b848e4cb80eeb737a073d5ae5d0ab197808a 100644
(file)
--- 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",
"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
]
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)
@impl true
def filter(%{"type" => "Create", "actor" => actor} = object) do
actor_info = URI.parse(actor)