aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlambda <pleromagit@rogerbraun.net>2018-12-04 18:36:34 +0000
committerlambda <pleromagit@rogerbraun.net>2018-12-04 18:36:34 +0000
commit4a602230e4b95e916b3df73bd88413b245e07de0 (patch)
tree0c4d69397f544075fc92d13f3bb27829415977a6
parent88b05aeabb23412530f6b74934bc3d2d3fe8c29f (diff)
parentb57d83e3c9988e46d30af3383789a7ad01f2eac3 (diff)
downloadpleroma-4a602230e4b95e916b3df73bd88413b245e07de0.tar.gz
Merge branch 'bugfix/mrf-simple-media-removal' into 'develop'
bugfix: MRF simple media removal See merge request pleroma/pleroma!497
-rw-r--r--lib/pleroma/web/activity_pub/mrf/simple_policy.ex2
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 =