add describe to gab rewrite
authorsadposter <hannah+pleroma@coffee-and-dreams.uk>
Fri, 16 Aug 2019 09:58:32 +0000 (10:58 +0100)
committersadposter <hannah+pleroma@coffee-and-dreams.uk>
Fri, 16 Aug 2019 09:58:32 +0000 (10:58 +0100)
lib/pleroma/web/activity_pub/mrf/gab_rewrite_policy.ex

index c24ab1ba1e656c426d19061204564c27da1a0b7c..eb6c6ca055232d4c433c047bc2edb36e616dc442 100644 (file)
@@ -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)