diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-12-04 18:28:38 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-12-04 18:30:01 +0000 |
commit | b57d83e3c9988e46d30af3383789a7ad01f2eac3 (patch) | |
tree | 0c4d69397f544075fc92d13f3bb27829415977a6 /lib | |
parent | 88b05aeabb23412530f6b74934bc3d2d3fe8c29f (diff) | |
download | pleroma-b57d83e3c9988e46d30af3383789a7ad01f2eac3.tar.gz |
MRF: simple policy: fix media removal
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/mrf/simple_policy.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/mrf/simple_policy.ex b/lib/pleroma/web/activity_pub/mrf/simple_policy.ex index 86dcf5080..12fc3b181 100644 --- a/lib/pleroma/web/activity_pub/mrf/simple_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/simple_policy.ex @@ -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 = |