Fix tagpolicy to also work with Update
[akkoma] / lib / pleroma / web / activity_pub / mrf / anti_link_spam_policy.ex
index cdf17fd28c001aa6a3ff3d464e6033503e582194..ba7c8400bf8a8f3dfa877b2d79e126abb6ce2a80 100644 (file)
@@ -9,6 +9,9 @@ defmodule Pleroma.Web.ActivityPub.MRF.AntiLinkSpamPolicy do
 
   require Logger
 
+  @impl true
+  def history_awareness, do: :auto
+
   # has the user successfully posted before?
   defp old_user?(%User{} = u) do
     u.note_count > 0 || u.follower_count > 0