diff --git a/lib/federation/activity_pub/utils.ex b/lib/federation/activity_pub/utils.ex index a0672373e..4df44e64d 100644 --- a/lib/federation/activity_pub/utils.ex +++ b/lib/federation/activity_pub/utils.ex @@ -300,7 +300,7 @@ defmodule Mobilizon.Federation.ActivityPub.Utils do end def origin_check?(id, %{"type" => type, "id" => actor_id} = _params) - when type in ["Actor", "Person", "Group"], + when type in ["Actor", "Person", "Group", "Application"], do: id == actor_id def origin_check?(_id, %{"actor" => nil} = _args), do: false