mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Allow to fetch Application actors
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d0b125064f
commit
6cdc68e1a8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue