Commit 4a602230 authored by lain's avatar lain
Browse files

Merge branch 'bugfix/mrf-simple-media-removal' into 'develop'

bugfix: MRF simple media removal

See merge request !497
parents 88b05aea b57d83e3
Pipeline #4915 passed with stages
in 4 minutes and 44 seconds
......@@ -23,7 +23,7 @@ defp check_reject(%{host: actor_host} = _actor_info, object) 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 =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment