Commit bf210774 authored by kaniini's avatar kaniini

object: containment: don't try to contain ostatus objects

parent 85ddcaf4
......@@ -57,7 +57,9 @@ def contain_origin_from_id(id, %{"id" => other_id} = _params) do
id_uri = URI.parse(id)
other_uri = URI.parse(other_id)
if == do
# We explicitly allow 'tag' URIs through, due to legacy OStatus objects
# being present in the ActivityPub network.
if == || other_uri.scheme == "tag" 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