Commit 7295a05c authored by kaniini's avatar kaniini

object: containment: also allow OStatus object IDs through when comparing origins

parent a177f22e
......@@ -41,7 +41,7 @@ defmodule Pleroma.Object.Containment do
id_uri = URI.parse(id)
actor_uri = URI.parse(get_actor(params))
if id_uri.host == actor_uri.host do
if id_uri.host == actor_uri.host || id_uri.scheme == "tag" do
:ok
else
:error
......
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