mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 06:58:58 +00:00
object: containment: also allow OStatus object IDs through when comparing origins
This commit is contained in:
parent
a177f22e02
commit
7295a05cee
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue