From: sadposter Date: Fri, 16 Aug 2019 09:58:32 +0000 (+0100) Subject: add describe to gab rewrite X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=1da00eb1b00f3764fdfe5da844f70d681ac2f793;p=akkoma add describe to gab rewrite --- 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)