Commit 03e92977 authored by kaniini's avatar kaniini

transmogrifier: fix peertube/plume actor handling

parent 303af9ba
......@@ -33,9 +33,9 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
@doc """
Checks that an imported AP object's actor matches the domain it came from.
def contain_origin(id, %{"actor" => actor}) do
def contain_origin(id, %{"actor" => actor} = params) do
id_uri = URI.parse(id)
actor_uri = URI.parse(actor)
actor_uri = URI.parse(get_actor(params))
if == do
Markdown is supported
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