Fix tagpolicy to also work with Update
authorilja <git@ilja.space>
Thu, 8 Dec 2022 20:53:42 +0000 (21:53 +0100)
committerilja <git@ilja.space>
Thu, 8 Dec 2022 20:53:42 +0000 (21:53 +0100)
commitce517ff4e5a9cc144853ec8112bfac2a38a3a68a
tree709874bba9aabc28e109a520aceafcb978d50cd9
parent9addd8f4141f9fbc5660788f86a61290f83ae124
Fix tagpolicy to also work with Update

Objects who got updated would just pass the TagPolicy, undoing the moderation that was set in place for the Actor.
Now we check not only for Create activities, but also Update activities.
lib/pleroma/web/activity_pub/mrf/tag_policy.ex
test/pleroma/web/activity_pub/mrf/tag_policy_test.exs