activitypub: tag containment checks for better error tracing

This commit is contained in:
Ariadne Conill 2019-10-18 03:57:32 +00:00
parent 7295a05cee
commit bae96de273
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ def insert(map, local \\ true, fake \\ false, bypass_actor_check \\ false) when
{:ok, map} <- MRF.filter(map),
{recipients, _, _} = get_recipients(map),
{:fake, false, map, recipients} <- {:fake, fake, map, recipients},
:ok <- Containment.contain_child(map),
{:containment, :ok} <- {:containment, Containment.contain_child(map)},
{:ok, map, object} <- insert_full_object(map) do
{:ok, activity} =
Repo.insert(%Activity{