diff options
| -rw-r--r-- | changelog.d/mrf_hashtags.fix | 1 | ||||
| -rw-r--r-- | lib/pleroma/web/activity_pub/mrf/hashtag_policy.ex | 2 | 
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/mrf_hashtags.fix b/changelog.d/mrf_hashtags.fix new file mode 100644 index 000000000..c44c2376b --- /dev/null +++ b/changelog.d/mrf_hashtags.fix @@ -0,0 +1 @@ +Federated timeline removal of hashtags via MRF HashtagPolicy diff --git a/lib/pleroma/web/activity_pub/mrf/hashtag_policy.ex b/lib/pleroma/web/activity_pub/mrf/hashtag_policy.ex index d13d980cc..fdb9a9dba 100644 --- a/lib/pleroma/web/activity_pub/mrf/hashtag_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/hashtag_policy.ex @@ -84,7 +84,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.HashtagPolicy do      if hashtags != [] do        with {:ok, message} <- check_reject(message, hashtags),             {:ok, message} <- -             (if "type" == "Create" do +             (if type == "Create" do                  check_ftl_removal(message, hashtags)                else                  {:ok, message}  | 
