add describe to gab rewrite
This commit is contained in:
parent
3fc4b078f2
commit
1da00eb1b0
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ defmodule Pleroma.Web.ActivityPub.MRF.GABRewritePolicy do
|
||||||
put_in(object, ["object", "content"], content <> " " <> Enum.random(@appends))
|
put_in(object, ["object", "content"], content <> " " <> Enum.random(@appends))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@impl true
|
||||||
|
def describe, do: "Appends boomer messages to the end of all statuses coming from gab.com"
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def filter(%{"type" => "Create", "actor" => actor} = object) do
|
def filter(%{"type" => "Create", "actor" => actor} = object) do
|
||||||
actor_info = URI.parse(actor)
|
actor_info = URI.parse(actor)
|
||||||
|
|
Loading…
Reference in a new issue