mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-24 15:26:23 +00:00
add describe to gab rewrite
This commit is contained in:
parent
3fc4b078f2
commit
1da00eb1b0
|
@ -36,6 +36,9 @@ defmodule Pleroma.Web.ActivityPub.MRF.GABRewritePolicy do
|
|||
put_in(object, ["object", "content"], content <> " " <> Enum.random(@appends))
|
||||
end
|
||||
|
||||
@impl true
|
||||
def describe, do: "Appends boomer messages to the end of all statuses coming from gab.com"
|
||||
|
||||
@impl true
|
||||
def filter(%{"type" => "Create", "actor" => actor} = object) do
|
||||
actor_info = URI.parse(actor)
|
||||
|
|
Loading…
Reference in a new issue