From: Ariadne Conill Date: Fri, 18 Oct 2019 03:56:31 +0000 (+0000) Subject: object: containment: also allow OStatus object IDs through when comparing origins X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7295a05ceee441311bf56513f5fe889908f59bd5;p=akkoma object: containment: also allow OStatus object IDs through when comparing origins --- 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