diff options
author | lambda <pleromagit@rogerbraun.net> | 2018-12-04 18:36:34 +0000 |
---|---|---|
committer | lambda <pleromagit@rogerbraun.net> | 2018-12-04 18:36:34 +0000 |
commit | 4a602230e4b95e916b3df73bd88413b245e07de0 (patch) | |
tree | 0c4d69397f544075fc92d13f3bb27829415977a6 /lib | |
parent | 88b05aeabb23412530f6b74934bc3d2d3fe8c29f (diff) | |
parent | b57d83e3c9988e46d30af3383789a7ad01f2eac3 (diff) | |
download | pleroma-4a602230e4b95e916b3df73bd88413b245e07de0.tar.gz |
Merge branch 'bugfix/mrf-simple-media-removal' into 'develop'
bugfix: MRF simple media removal
See merge request pleroma/pleroma!497
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 = |