diff options
author | Ariadne Conill <ariadne@dereferenced.org> | 2019-10-18 03:56:31 +0000 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-10-18 14:50:10 +0000 |
commit | 7295a05ceee441311bf56513f5fe889908f59bd5 (patch) | |
tree | 4e2a900e0d52f0521daa7feafbdb8c6c54bdecad /lib | |
parent | a177f22e0242f58db665688ed56dd5f1ccd1999c (diff) | |
download | pleroma-7295a05ceee441311bf56513f5fe889908f59bd5.tar.gz |
object: containment: also allow OStatus object IDs through when comparing origins
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/object/containment.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/object/containment.ex b/lib/pleroma/object/containment.ex index cd8623821..6a621ac26 100644 --- a/lib/pleroma/object/containment.ex +++ b/lib/pleroma/object/containment.ex @@ -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 |