From 1da00eb1b00f3764fdfe5da844f70d681ac2f793 Mon Sep 17 00:00:00 2001 From: sadposter Date: Fri, 16 Aug 2019 10:58:32 +0100 Subject: [PATCH] add describe to gab rewrite --- lib/pleroma/web/activity_pub/mrf/gab_rewrite_policy.ex | 3 +++ 1 file changed, 3 insertions(+) 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 c24ab1ba1..eb6c6ca05 100644 --- a/lib/pleroma/web/activity_pub/mrf/gab_rewrite_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/gab_rewrite_policy.ex @@ -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)