Merge branch 'develop' into feature/compat/push-subscriptions
[akkoma] / lib / pleroma / web / activity_pub / mrf / simple_policy.ex
index 86dcf5080532b1054bfba7e00a97d2c4114a9ff7..12fc3b18198029c596768c26c1df19d1cfc5a3f4 100644 (file)
@@ -23,7 +23,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.SimplePolicy do
 
   defp check_media_removal(
          %{host: actor_host} = _actor_info,
-         %{"type" => "Create", "object" => %{"attachement" => child_attachment}} = object
+         %{"type" => "Create", "object" => %{"attachment" => child_attachment}} = object
        )
        when length(child_attachment) > 0 do
     object =